소스 검색

代码同步

linft 1 년 전
부모
커밋
9b4149dcc4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabSubjectMapper.xml

+ 1 - 1
zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabSubjectMapper.xml

@@ -662,7 +662,7 @@
             <if test="inspectSkipped != null">inspect_skipped = #{inspectSkipped},</if>
             <if test="inspectCheckCount != null">inspect_check_count = #{inspectCheckCount},</if>
             <if test="inspectSignTime != null">inspect_sign_time = #{inspectSignTime},</if>
-            <if test="details != null">details = #{details},</if>
+            <if test="details != null and details!=''">details = #{details},</if>
             <if test="hardwareType != null">hardware_type = #{hardwareType},</if>
         </trim>
         where id = #{id}