|
@@ -576,7 +576,7 @@
|
|
|
join RMS_CARRIER RCA
|
|
|
on RCA.CARRIER_ID = RC.CARRIER_ID
|
|
|
</if>
|
|
|
- where OO.ORDER_TYPE in (12,15)
|
|
|
+ where OO.ORDER_TYPE = 12
|
|
|
<if test="carrierSsoId != null">
|
|
|
and RCA.CARRIER_SSO_ID = #{carrierSsoId}
|
|
|
</if>
|
|
@@ -597,9 +597,6 @@
|
|
|
<if test="userIds!=null">
|
|
|
and ASO.UPDATE_USERNAME=#{userIds}
|
|
|
</if>
|
|
|
- <if test="orderType!=null">
|
|
|
- and OO.ORDER_TYPE=#{orderType}
|
|
|
- </if>
|
|
|
)
|
|
|
<where>
|
|
|
<if test="receiveName != null">
|
|
@@ -640,7 +637,7 @@
|
|
|
<if test="resultTareWeightTime != null">
|
|
|
and
|
|
|
<foreach collection="resultTareWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
- "resultTareWeightTime" like '%${item}%'
|
|
|
+ to_char("resultTareWeightTime",'yyyy-mm-dd hh24:mi:ss') like '%${item}%'
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="resultTareWeight != null">
|
|
@@ -652,7 +649,7 @@
|
|
|
<if test="resultEndTime != null">
|
|
|
and
|
|
|
<foreach collection="resultEndTime" item="item" open="(" separator="or" close=")">
|
|
|
- "resultEndTime" like '%${item}%'
|
|
|
+ to_char("resultEndTime",'yyyy-mm-dd hh24:mi:ss') like '%${item}%'
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="warehouseName != null">
|
|
@@ -664,7 +661,7 @@
|
|
|
<if test="resultGrossWeightTime != null">
|
|
|
and
|
|
|
<foreach collection="resultGrossWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
- "resultGrossWeightTime" like '%${item}%'
|
|
|
+ to_char("resultGrossWeightTime",'yyyy-mm-dd hh24:mi:ss') like '%${item}%'
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="resultGrossWeight != null">
|
|
@@ -769,7 +766,7 @@
|
|
|
join RMS_CARRIER RCA
|
|
|
on RCA.CARRIER_ID = RC.CARRIER_ID
|
|
|
</if>
|
|
|
- where OO.ORDER_TYPE in (13,16)
|
|
|
+ where OO.ORDER_TYPE = 13
|
|
|
<if test="carrierSsoId != null">
|
|
|
and RCA.CARRIER_SSO_ID = #{carrierSsoId}
|
|
|
</if>
|
|
@@ -790,9 +787,6 @@
|
|
|
<if test="userIds!=null">
|
|
|
and ASO.UPDATE_USERNAME=#{userIds}
|
|
|
</if>
|
|
|
- <if test="orderType!=null">
|
|
|
- and OO.ORDER_TYPE=#{orderType}
|
|
|
- </if>
|
|
|
)
|
|
|
<where>
|
|
|
<if test="receiveName != null">
|
|
@@ -1160,7 +1154,7 @@
|
|
|
<if test="resultTareWeightTime != null">
|
|
|
and
|
|
|
<foreach collection="resultTareWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
- "resultTareWeightTime" like '%${item}%'
|
|
|
+ to_char("resultTareWeightTime",'yyyy-mm-dd hh24:mi:ss') like '%${item}%'
|
|
|
</foreach>
|
|
|
</if>
|
|
|
|
|
@@ -1172,7 +1166,7 @@
|
|
|
<if test="resultGrossWeightTime != null">
|
|
|
and
|
|
|
<foreach collection="resultGrossWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
- "resultGrossWeightTime" like '%${item}%'
|
|
|
+ to_char("resultGrossWeightTime",'yyyy-mm-dd hh24:mi:ss') like '%${item}%'
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="resultGrossWeight != null">
|