即时库存收货数量查询
This commit is contained in:
@@ -550,7 +550,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
AND d.del_flag = 1
|
AND d.del_flag = 1
|
||||||
LEFT JOIN stock_in_order e ON d.in_order_number = e.in_order_number
|
LEFT JOIN stock_in_order e ON d.in_order_number = e.in_order_number
|
||||||
WHERE
|
WHERE
|
||||||
c.del_flag = 1 and d.STATUS = 3 and e.STATUS in (3,4)
|
c.del_flag = 1 and d.STATUS = 3
|
||||||
AND e.warehouse_id = a.warehouse_id
|
AND e.warehouse_id = a.warehouse_id
|
||||||
AND (a.shipper_id IS NULL OR e.shipper_id = a.shipper_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
|
AND c.material_base_info_id = a.material_base_info_id
|
||||||
|
|||||||
Reference in New Issue
Block a user