gaodd пре 1 година
родитељ
комит
f6a27c8a1c

+ 2 - 2
src/main/java/com/chinaitop/depot/keeperHouse/mapper/StorageHouserepairMapper.xml

@@ -403,10 +403,10 @@
403 403
         and shr.org_id = #{orgId}
404 404
       </if>
405 405
       <if test="searchStartDate !=null">
406
-        and shr.check_date >= to_date(#{searchStartDate},'yyyy-mm-dd hh24:mi:ss')
406
+        and shr.check_date >= DATE_FORMAT(#{searchStartDate},'%Y-%m-%d %H:%i:%s')
407 407
       </if>
408 408
       <if test="searchEndDate !=null">
409
-        and shr.check_date &lt;= to_date(#{searchEndDate},'yyyy-mm-dd hh24:mi:ss')
409
+        and shr.check_date &lt;= DATE_FORMAT(#{searchEndDate},'%Y-%m-%d %H:%i:%s')
410 410
       </if>
411 411
       <if test="problemExist !=null">
412 412
         and shr.problem_exist = #{problemExist}