|
|
|
@ -200,7 +200,7 @@
|
|
|
|
|
LEFT JOIN logpm_distribution_parcel_list ldpl on ldsa.id = ldpl.stock_article_id |
|
|
|
|
<where> |
|
|
|
|
ldsa.is_deleted = 0 and ldsa.hand_quantity > 0 and ldsa.order_status in ('10','20','30','40','50','60','70') |
|
|
|
|
and ldsa.genre = '1' and ldsa.type_service='2' |
|
|
|
|
and ldsa.genre = '1' and ldsa.type_service='2' and ldsa.reservation_status != '30' |
|
|
|
|
<if test="distributionStockArticleVO.orderCode!=null and distributionStockArticleVO.orderCode !=''"> |
|
|
|
|
and ldsa.order_code like concat(#{distributionStockArticleVO.orderCode},'%') |
|
|
|
|
</if> |
|
|
|
|