及时库存查询收货数逻辑修改;

This commit is contained in:
王奎兴
2026-02-12 11:00:28 +08:00
parent 9c75a8dd03
commit fc6a36a6d9
2 changed files with 3 additions and 3 deletions
@@ -459,7 +459,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND d.del_flag = 1
LEFT JOIN stock_in_order e ON d.in_order_number = e.in_order_number
WHERE
c.del_flag = 1 and d.STATUS = 3 and e.STATUS = 3
c.del_flag = 1 and d.STATUS = 3 and e.STATUS = 4
AND e.warehouse_id = a.warehouse_id
AND (a.shipper_id IS NULL OR e.shipper_id = a.shipper_id)
AND c.material_base_info_id = a.material_base_info_id