Commit 2e3a9f89 authored by zhengyi's avatar zhengyi

动态查询时,对订单提货状态进行sql转换

parent 5b590907
...@@ -179,6 +179,15 @@ ...@@ -179,6 +179,15 @@
<when test="status == 118428"> <when test="status == 118428">
or (o.`status` = 32 AND o.shipment_State = 428 and o.transport_id = 3) or (o.`status` = 32 AND o.shipment_State = 428 and o.transport_id = 3)
</when> </when>
<when test="status == 16">
or (o.`status` = #{status} AND o.`pick_state` = 0)
</when>
<when test="status == 20">
or o.`pick_state` = 2
</when>
<when test="status == 21">
or o.`pick_state` = 1
</when>
<otherwise> <otherwise>
or o.`status` = #{status} or o.`status` = #{status}
</otherwise> </otherwise>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment