wuxw %!s(int64=3) %!d(string=hai) anos
pai
achega
a0833b993f

+ 8 - 3
java110-db/src/main/resources/mapper/community/InspectionPlanServiceDaoImplMapper.xml

@@ -195,7 +195,9 @@
         <if test="endTime !=null ">
             and t.end_time= #{endTime}
         </if>
-
+        <if test="endDate !=null ">
+            and t.end_date= #{endDate}
+        </if>
         <if test="signType !=null and signType != ''">
             and t.sign_type= #{signType}
         </if>
@@ -205,9 +207,12 @@
         <if test="startTime !=null ">
             and t.start_time= #{startTime}
         </if>
+        <if test="startDate !=null ">
+            and t.start_date= #{startDate}
+        </if>
         <if test="curTime !=null ">
-            and t.start_time &lt; #{curTime}
-            and t.end_time &gt; #{curTime}
+            and t.start_date &lt; #{curTime}
+            and t.end_date &gt; #{curTime}
         </if>
         <if test="createUserId !=null and createUserId != ''">
             and t.create_user_id= #{createUserId}