|
@@ -16,10 +16,10 @@
|
|
|
and o.paid = 0 and o.status = 0 and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
</when>
|
|
|
<when test='status == "notShipped"'>
|
|
|
- and o.status in (1,2) and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
+ and o.status in (1) and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
</when>
|
|
|
<when test='status == "spike"'>
|
|
|
- and o.status in (3,4) and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
+ and o.status in (2,3,4) and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
</when>
|
|
|
<when test='status == "receiving"'>
|
|
|
and o.status = 5 and o.cancel_status = 0 and o.is_user_del = 0
|
|
@@ -80,13 +80,13 @@
|
|
|
and o.status = 1 and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
</when>
|
|
|
<when test='status == "spike"'>
|
|
|
- and o.status in (2,3) and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
+ and o.status in (2,3,4) and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
</when>
|
|
|
<when test='status == "receiving"'>
|
|
|
- and o.status = 4 and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
+ and o.status = 5 and o.cancel_status = 0 and o.is_user_del = 0
|
|
|
</when>
|
|
|
<when test='status == "complete"'>
|
|
|
- and o.status = 5
|
|
|
+ and o.status = 6
|
|
|
</when>
|
|
|
<when test='status == "refunded"'>
|
|
|
and o.paid = 1 and o.cancel_status = 0 and o.is_user_del = 0
|