|
@@ -431,16 +431,16 @@
|
|
|
AND shopStatus = 0
|
|
|
</if>
|
|
|
<if test="orderState == 2 ">
|
|
|
- AND receiptStatus = 1 AND shopStatus not in (0, 4,5) AND orderStatusFlag = 1 AND refundStatus = 1
|
|
|
+ AND receiptStatus = 1 AND shopStatus not in (0, 4, 5) AND orderStatusFlag = 1 AND refundStatus = 1
|
|
|
</if>
|
|
|
<if test="orderState == 3 ">
|
|
|
- AND sendOutStatus = 1 AND shopStatus not in (0, 4,5) AND orderStatusFlag = 1 AND refundStatus = 1
|
|
|
+ AND sendOutStatus = 1 AND shopStatus not in (0, 4, 5) AND orderStatusFlag = 1 AND refundStatus = 1
|
|
|
</if>
|
|
|
<if test="orderState == 4 ">
|
|
|
- AND sendOutStatus = 3 AND shopStatus not in (0, 4,5) AND orderStatusFlag = 1 AND refundStatus = 1
|
|
|
+ AND sendOutStatus = 3 AND shopStatus not in (0, 4, 5) AND orderStatusFlag = 1 AND refundStatus = 1
|
|
|
</if>
|
|
|
<if test="orderState == 5 ">
|
|
|
- AND (orderStatusFlag in (2, 3) or refundStatus in (2, 3)) AND shopStatus not in (0, 4, 5)
|
|
|
+ AND (orderStatusFlag in (2, 3) or refundStatus in (2, 3)) AND shopStatus not in (0, 4)
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="getOrderSeenCount" resultType="java.lang.Integer">
|
|
@@ -605,7 +605,7 @@
|
|
|
AND cso.sendOutStatus = 3 AND shopStatus not in (0, 4, 5) AND cso.orderStatusFlag = 1 AND cso.refundStatus = 1
|
|
|
</if>
|
|
|
<if test="status == 5 ">
|
|
|
- AND (cso.orderStatusFlag in (2, 3) or cso.refundStatus in (2, 3)) AND cso.shopStatus not in (0, 4, 5)
|
|
|
+ AND (cso.orderStatusFlag in (2, 3) or cso.refundStatus in (2, 3)) AND cso.shopStatus not in (0, 4)
|
|
|
</if>
|
|
|
<if test="shopOrderNo != null and shopOrderNo != '' ">
|
|
|
AND cso.shopOrderNo = #{shopOrderNo}
|