Kaynağa Gözat

【CHG】统一修改Mybatis日期类型字段判断是否为空方法

xczzmn 4 yıl önce
ebeveyn
işleme
87d34236dd
31 değiştirilmiş dosya ile 74 ekleme ve 74 silme
  1. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventBirdMapper.xml
  2. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventFloodMapper.xml
  3. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventForeignMapper.xml
  4. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventIceMapper.xml
  5. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventRustMapper.xml
  6. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventThawMapper.xml
  7. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventThunderMapper.xml
  8. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventTreeMapper.xml
  9. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BasePreventWindMapper.xml
  10. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BusBlqMapper.xml
  11. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BusDmcgyqMapper.xml
  12. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BusFdfxjyqMapper.xml
  13. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BusFjxgmdMapper.xml
  14. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BusGlkgMapper.xml
  15. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BusSdtzMapper.xml
  16. 2 2
      railway-business/src/main/resources/mapper/baseinfo/BusZzdzxxMapper.xml
  17. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcbBlqMapper.xml
  18. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcbDmcgyqMapper.xml
  19. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcbFdfxjyqMapper.xml
  20. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcbGlkgMapper.xml
  21. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcbJcxcMapper.xml
  22. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcbWjcxcMapper.xml
  23. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcebGjsfxMapper.xml
  24. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcebJddzMapper.xml
  25. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcebJyzqsjlMapper.xml
  26. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcebLbjghjlMapper.xml
  27. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcebQmjcjlMapper.xml
  28. 3 3
      railway-business/src/main/resources/mapper/catenary/BusJcebXsjcjlMapper.xml
  29. 2 2
      railway-business/src/main/resources/mapper/catenary/BusJlgzMapper.xml
  30. 2 2
      railway-business/src/main/resources/mapper/safetool/BaseSafetyToolMapper.xml
  31. 2 2
      railway-business/src/main/resources/mapper/safetool/SecScheduledToolMapper.xml

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventBirdMapper.xml

@@ -276,13 +276,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventFloodMapper.xml

@@ -315,13 +315,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventForeignMapper.xml

@@ -279,13 +279,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventIceMapper.xml

@@ -279,13 +279,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventRustMapper.xml

@@ -291,13 +291,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventThawMapper.xml

@@ -327,13 +327,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventThunderMapper.xml

@@ -267,13 +267,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventTreeMapper.xml

@@ -339,13 +339,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BasePreventWindMapper.xml

@@ -279,13 +279,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusBlqMapper.xml

@@ -900,13 +900,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusDmcgyqMapper.xml

@@ -302,13 +302,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="sjbh!=null and sjbh!=''">

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusFdfxjyqMapper.xml

@@ -590,13 +590,13 @@
       <if test="createBy!=null and createBy!=''">
         and create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusFjxgmdMapper.xml

@@ -209,13 +209,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusGlkgMapper.xml

@@ -205,13 +205,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusSdtzMapper.xml

@@ -203,13 +203,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusZzdzxxMapper.xml

@@ -361,13 +361,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcbBlqMapper.xml

@@ -381,7 +381,7 @@
       <if test="temperature!=null and temperature!=''">
         and t.temperature=#{temperature}
       </if>
-      <if test="checkDate!=null and checkDate!=''">
+      <if test="checkDate!=null">
         and t.check_date=#{checkDate}
       </if>
       <if test="picUrl!=null and picUrl!=''">
@@ -456,13 +456,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="submitState!=null and submitState!=''">

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcbDmcgyqMapper.xml

@@ -371,7 +371,7 @@
       <if test="temperature!=null and temperature!=''">
         and t.temperature=#{temperature}
       </if>
-      <if test="checkDate!=null and checkDate!=''">
+      <if test="checkDate!=null">
         and t.check_date=#{checkDate}
       </if>
       <if test="dgqwgAzlg!=null and dgqwgAzlg!=''">
@@ -431,13 +431,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="userId!=null and userId!=''">

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcbFdfxjyqMapper.xml

@@ -504,7 +504,7 @@
       <if test="temperature!=null and temperature!=''">
         and t.temperature=#{temperature}
       </if>
-      <if test="checkDate!=null and checkDate!=''">
+      <if test="checkDate!=null">
         and t.check_date=#{checkDate}
       </if>
       <if test="picUrl!=null and picUrl!=''">
@@ -600,13 +600,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="submitState!=null and submitState!=''">

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcbGlkgMapper.xml

@@ -705,7 +705,7 @@
       <if test="temperature!=null and temperature!=''">
         and t.temperature=#{temperature}
       </if>
-      <if test="checkDate!=null and checkDate!=''">
+      <if test="checkDate!=null">
         and t.check_date=#{checkDate}
       </if>
       <if test="jgxA!=null and jgxA!=''">
@@ -879,13 +879,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="submitState!=null and submitState!=''">

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcbJcxcMapper.xml

@@ -497,7 +497,7 @@
       <if test="temperature!=null and temperature!=''">
         and t.temperature=#{temperature}
       </if>
-      <if test="checkDate!=null and checkDate!=''">
+      <if test="checkDate!=null">
         and t.check_date=#{checkDate}
       </if>
       <if test="gz1lcz!=null and gz1lcz!=''">
@@ -608,13 +608,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="userId!=null and userId!=''">

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcbWjcxcMapper.xml

@@ -444,7 +444,7 @@
       <if test="temperature!=null and temperature!=''">
         and t.temperature=#{temperature}
       </if>
-      <if test="checkDate!=null and checkDate!=''">
+      <if test="checkDate!=null">
         and t.check_date=#{checkDate}
       </if>
       <if test="lbjzt!=null and lbjzt!=''">
@@ -534,13 +534,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="userId!=null and userId!=''">

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcebGjsfxMapper.xml

@@ -288,7 +288,7 @@
       <if test="pillarEnd!=null and pillarEnd!=''">
         and t.pillar_end=#{pillarEnd}
       </if>
-      <if test="operationDate!=null and operationDate!=''">
+      <if test="operationDate!=null">
         and t.operation_date=#{operationDate}
       </if>
       <if test="lmdjcspjlZhz1!=null and lmdjcspjlZhz1!=''">
@@ -345,13 +345,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcebJddzMapper.xml

@@ -227,7 +227,7 @@
       <if test="mdh!=null and mdh!=''">
         and t.mdh=#{mdh}
       </if>
-      <if test="operationDate!=null and operationDate!=''">
+      <if test="operationDate!=null">
         and t.operation_date=#{operationDate}
       </if>
       <if test="pillarCode!=null and pillarCode!=''">
@@ -257,13 +257,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="userId!=null and userId!=''">

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcebJyzqsjlMapper.xml

@@ -214,7 +214,7 @@
       <if test="sl!=null and sl!=''">
         and t.sl=#{sl}
       </if>
-      <if test="operationDate!=null and operationDate!=''">
+      <if test="operationDate!=null">
         and t.operation_date=#{operationDate}
       </if>
       <if test="operator!=null and operator!=''">
@@ -232,13 +232,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcebLbjghjlMapper.xml

@@ -251,7 +251,7 @@
       <if test="ghyy!=null and ghyy!=''">
         and t.ghyy=#{ghyy}
       </if>
-      <if test="operationDate!=null and operationDate!=''">
+      <if test="operationDate!=null">
         and t.operation_date=#{operationDate}
       </if>
       <if test="operator!=null and operator!=''">
@@ -269,13 +269,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcebQmjcjlMapper.xml

@@ -294,7 +294,7 @@
       <if test="confirmUser!=null and confirmUser!=''">
         and t.confirm_user=#{confirmUser}
       </if>
-      <if test="operationDate!=null and operationDate!=''">
+      <if test="operationDate!=null">
         and t.operation_date=#{operationDate}
       </if>
       <if test="remark!=null and remark!=''">
@@ -309,13 +309,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
     </where>

+ 3 - 3
railway-business/src/main/resources/mapper/catenary/BusJcebXsjcjlMapper.xml

@@ -242,7 +242,7 @@
       <if test="stationId!=null and stationId!=''">
         and v.station_id=#{stationId}
       </if>
-      <if test="operationDate!=null and operationDate!=''">
+      <if test="operationDate!=null">
         and t.operation_date=#{operationDate}
       </if>
       <if test="xsjcfs!=null and xsjcfs!=''">
@@ -287,13 +287,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="userId!=null and userId!=''">

+ 2 - 2
railway-business/src/main/resources/mapper/catenary/BusJlgzMapper.xml

@@ -210,13 +210,13 @@
       <if test="createBy!=null and createBy!=''">
         and t.create_by=#{createBy}
       </if>
-      <if test="createTime!=null and createTime!=''">
+      <if test="createTime!=null">
         and t.create_time=#{createTime}
       </if>
       <if test="updateBy!=null and updateBy!=''">
         and t.update_by=#{updateBy}
       </if>
-      <if test="updateTime!=null and updateTime!=''">
+      <if test="updateTime!=null">
         and t.update_time=#{updateTime}
       </if>
       <if test="delFlag!=null and delFlag!=''">

+ 2 - 2
railway-business/src/main/resources/mapper/safetool/BaseSafetyToolMapper.xml

@@ -348,13 +348,13 @@
                 <if test="createBy!=null and createBy!=''">
                     and t.create_by=#{createBy}
                 </if>
-                <if test="createTime!=null and createTime!=''">
+                <if test="createTime!=null">
                     and t.create_time=#{createTime}
                 </if>
                 <if test="updateBy!=null and updateBy!=''">
                     and t.update_by=#{updateBy}
                 </if>
-                <if test="updateTime!=null and updateTime!=''">
+                <if test="updateTime!=null">
                     and t.update_time=#{updateTime}
                 </if>
         </where>

+ 2 - 2
railway-business/src/main/resources/mapper/safetool/SecScheduledToolMapper.xml

@@ -134,13 +134,13 @@
                 <if test="createBy!=null and createBy!=''">
                     and create_by=#{createBy}
                 </if>
-                <if test="createTime!=null and createTime!=''">
+                <if test="createTime!=null">
                     and create_time=#{createTime}
                 </if>
                 <if test="updateBy!=null and updateBy!=''">
                     and update_by=#{updateBy}
                 </if>
-                <if test="updateTime!=null and updateTime!=''">
+                <if test="updateTime!=null">
                     and update_time=#{updateTime}
                 </if>
         </where>