|
@@ -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') < = TLR.RESULT_LOAD_END_TIME
|
|
|
|
- </if>
|
|
|
|
- <if test="startDate != null">
|
|
|
|
- and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') <= 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>
|