liyg пре 2 година
родитељ
комит
b830b243c0
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/main/resources/com/steerinfo/dil/mapper/ShipDynamicsMapper.xml

+ 3 - 3
src/main/resources/com/steerinfo/dil/mapper/ShipDynamicsMapper.xml

@@ -205,11 +205,11 @@
                  DB.RESULT_FOREIGN_SHIP_NAME || rm.MATERIAL_NAME like concat('%',concat(#{input},'%'))
             </if>
             <if test="oneDate != null">
-                and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;=  WOR.INSERT_TIME
+                and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;=  WOR.WORK_TIME
             </if>
             <if test="startDate != null">
-                and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;=  WOR.INSERT_TIME
-                and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= WOR.INSERT_TIME
+                and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;=  WOR.WORK_TIME
+                and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= WOR.WORK_TIME
             </if>
         </where>
         GROUP BY rm.MATERIAL_NAME,DB.RESULT_FOREIGN_SHIP_NAME