Bladeren bron

修改报修信息时报 时间无法判断string报错处理

wuxw 6 jaren geleden
bovenliggende
commit
23947dab08
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 5 5
      java110-db/src/main/resources/mapper/repair/RepairServiceDaoImplMapper.xml

+ 5 - 5
java110-db/src/main/resources/mapper/repair/RepairServiceDaoImplMapper.xml

@@ -27,7 +27,7 @@
         <if test="repairName !=null and repairName != ''">
         <if test="repairName !=null and repairName != ''">
             and t.repair_name= #{repairName}
             and t.repair_name= #{repairName}
         </if>
         </if>
-        <if test="appointmentTime !=null and appointmentTime != ''">
+        <if test="appointmentTime !=null">
             and t.appointment_time= #{appointmentTime}
             and t.appointment_time= #{appointmentTime}
         </if>
         </if>
         <if test="repairType !=null and repairType != ''">
         <if test="repairType !=null and repairType != ''">
@@ -69,7 +69,7 @@
         <if test="repairName !=null and repairName != ''">
         <if test="repairName !=null and repairName != ''">
             and t.repair_name= #{repairName}
             and t.repair_name= #{repairName}
         </if>
         </if>
-        <if test="appointmentTime !=null and appointmentTime != ''">
+        <if test="appointmentTime !=null ">
             and t.appointment_time= #{appointmentTime}
             and t.appointment_time= #{appointmentTime}
         </if>
         </if>
         <if test="repairType !=null and repairType != ''">
         <if test="repairType !=null and repairType != ''">
@@ -119,7 +119,7 @@
         <if test="repairName !=null and repairName != ''">
         <if test="repairName !=null and repairName != ''">
             and t.repair_name= #{repairName}
             and t.repair_name= #{repairName}
         </if>
         </if>
-        <if test="appointmentTime !=null and appointmentTime != ''">
+        <if test="appointmentTime !=null ">
             and t.appointment_time= #{appointmentTime}
             and t.appointment_time= #{appointmentTime}
         </if>
         </if>
         <if test="repairType !=null and repairType != ''">
         <if test="repairType !=null and repairType != ''">
@@ -165,7 +165,7 @@
         <if test="repairName !=null and repairName != ''">
         <if test="repairName !=null and repairName != ''">
             , t.repair_name= #{repairName}
             , t.repair_name= #{repairName}
         </if>
         </if>
-        <if test="appointmentTime !=null and appointmentTime != ''">
+        <if test="appointmentTime !=null">
             , t.appointment_time= #{appointmentTime}
             , t.appointment_time= #{appointmentTime}
         </if>
         </if>
         <if test="repairType !=null and repairType != ''">
         <if test="repairType !=null and repairType != ''">
@@ -204,7 +204,7 @@
         <if test="repairName !=null and repairName != ''">
         <if test="repairName !=null and repairName != ''">
             and t.repair_name= #{repairName}
             and t.repair_name= #{repairName}
         </if>
         </if>
-        <if test="appointmentTime !=null and appointmentTime != ''">
+        <if test="appointmentTime !=null ">
             and t.appointment_time= #{appointmentTime}
             and t.appointment_time= #{appointmentTime}
         </if>
         </if>
         <if test="repairType !=null and repairType != ''">
         <if test="repairType !=null and repairType != ''">