|
|
@ -74,7 +74,7 @@ |
|
|
|
SELECT * from logpm_distribution_stock_article ldsa where |
|
|
|
SELECT * from logpm_distribution_stock_article ldsa where |
|
|
|
ldsa.is_deleted = 0 and ldsa.type_service ='2' and ldsa.genre = 1 and ldsa.reservation_status in ('10','20') and ldsa.order_status in ('10','20','30') |
|
|
|
ldsa.is_deleted = 0 and ldsa.type_service ='2' and ldsa.genre = 1 and ldsa.reservation_status in ('10','20') and ldsa.order_status in ('10','20','30') |
|
|
|
<if test="distributionStockArticleVO.orderCode!=null and distributionStockArticleVO.orderCode !=''"> |
|
|
|
<if test="distributionStockArticleVO.orderCode!=null and distributionStockArticleVO.orderCode !=''"> |
|
|
|
and ldsa.order_code = #{distributionStockArticleVO.orderCode} |
|
|
|
and ldsa.order_code like concat(#{distributionStockArticleVO.orderCode},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="distributionStockArticleVO.stockupStatus != null and distributionStockArticleVO.stockupStatus != ''"> |
|
|
|
<if test="distributionStockArticleVO.stockupStatus != null and distributionStockArticleVO.stockupStatus != ''"> |
|
|
|
and ldsa.stockup_status = #{distributionStockArticleVO.stockupStatus} |
|
|
|
and ldsa.stockup_status = #{distributionStockArticleVO.stockupStatus} |
|
|
|