Browse Source

修复预约单查询

master
pref_mail@163.com 7 months ago
parent
commit
bd13ed3167
  1. 1
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml

1
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml

@ -1094,6 +1094,7 @@
ldpl.order_package_reservation_status = 10 and ldpl.order_package_freeze_status = 10 AND ldpl.order_package_reservation_status = 10 and ldpl.order_package_freeze_status = 10 AND
ldpl.order_package_loading_status = 10 AND order_package_status IN (10,20) ldpl.order_package_loading_status = 10 AND order_package_status IN (10,20)
and ldpl.stock_article_id = #{param.id} and ldpl.warehouse_id = #{warehouseId} and ldpl.stock_article_id = #{param.id} and ldpl.warehouse_id = #{warehouseId}
and ldpl.conditions !=2
<if test="param.waybillNumber != null and param.waybillNumber != ''"> <if test="param.waybillNumber != null and param.waybillNumber != ''">
and ldpl.waybill_number like concat('%',#{param.waybillNumber},'%') and ldpl.waybill_number like concat('%',#{param.waybillNumber},'%')
</if> </if>

Loading…
Cancel
Save