Browse Source

Merge branch 'master' of https://git.steerinfo.com/DAL-DAZHOU2/DAI_DAZHOU-OMS

luobang 3 năm trước cách đây
mục cha
commit
5d13a1435a

+ 1 - 7
src/main/resources/com/steerinfo/dil/mapper/OmstruckOrderMapper.xml

@@ -3635,13 +3635,7 @@
         LEFT JOIN TMSTRUCK_WEIGHT_RESULT TWR
         LEFT JOIN TMSTRUCK_WEIGHT_RESULT TWR
         ON TWR.RESULT_TOTAL_ID=TTR.RESULT_TOTAL_ID
         ON TWR.RESULT_TOTAL_ID=TTR.RESULT_TOTAL_ID
         where TLR.CAPACITY_REMARK IS NOT NULL and TLR.CAPACITY_REMARK=#{userName}
         where TLR.CAPACITY_REMARK IS NOT NULL and TLR.CAPACITY_REMARK=#{userName}
-        <if test="oneDate != null">
-            and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') &lt; = TLR.RESULT_LOAD_END_TIME
-        </if>
-        <if test="startDate != null">
-            and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;= TLR.RESULT_LOAD_END_TIME
-            and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= TLR.RESULT_LOAD_END_TIME
-        </if>
+        and TLR.RESULT_LOAD_END_TIME >= to_date(#{limitTime}, 'yyyy-mm-dd')
         GROUP BY TLR.CAPACITY_REMARK
         GROUP BY TLR.CAPACITY_REMARK
         )
         )
     </select>
     </select>