|
|
|
@ -432,6 +432,7 @@
|
|
|
|
|
LEFT JOIN logpm_warehouse_updown_goods lwug on lwug.association_id = ldpl.id |
|
|
|
|
<where> |
|
|
|
|
ldsa.is_deleted = 0 and ldsa.order_status in (10,20,30,40,50,60,70) |
|
|
|
|
and ldsa.hand_quantity > 0 |
|
|
|
|
<if test="param.orderCodeNumList != null"> |
|
|
|
|
and ldsa.order_code in |
|
|
|
|
<foreach collection="param.orderCodeNumList" separator="," close=")" item="a" open="("> |
|
|
|
@ -473,8 +474,6 @@
|
|
|
|
|
<if test=" param.startDate != null ">and ldsa.warehouse_entry_time between #{param.startDate} and |
|
|
|
|
#{param.entDate} |
|
|
|
|
</if> |
|
|
|
|
<if test=" param.isAll != null ">and ldsa.hand_quantity > 0 |
|
|
|
|
</if> |
|
|
|
|
<if test=" param.warehouseEntryTime != null ">and DATE(ldsa.warehouse_entry_time) = |
|
|
|
|
#{param.warehouseEntryTime} |
|
|
|
|
</if> |
|
|
|
|