Преглед на файлове

fix-军事训练月统计表修改BUG

wuxiang преди 3 дни
родител
ревизия
f702d83136
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      supervision-system/src/main/resources/mapper/grassrootsregistration/BdglStatisticsMapper.xml

+ 2 - 0
supervision-system/src/main/resources/mapper/grassrootsregistration/BdglStatisticsMapper.xml

@@ -68,7 +68,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="unitName != null">unit_name = #{unitName},</if>
             <if test="title != null">title = #{title},</if>
             <if test="fileName != null">file_name = #{fileName},</if>
+            <if test="fileName == null">file_name = NULL,</if>
             <if test="filePath != null">file_path = #{filePath},</if>
+            <if test="filePath == null">file_path = NULL,</if>
             <if test="time != null">time = #{time},</if>
         </trim>
         where id = #{id}