Browse Source

2026-02-27

优化
master
fengyuan_yang 11 hours ago
parent
commit
4752f64587
  1. 2
      src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml

2
src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml

@ -20,7 +20,7 @@
INNER JOIN ShopOrder sh ON d.site = sh.site and d.bu_no = sh.bu_no and d.related_order_no = sh.OrderNo and d.part_no = sh.PartNo
INNER JOIN SFDC_Rolls pr ON sh.site = pr.site and sh.bu_no = pr.bu_no and sh.OrderNo = pr.OrderNo
WHERE h.site = #{site} and h.bu_no in (select bu_no from AccessBu where username = #{userName})
AND h.order_type = '生产入库' AND h.close_flag = 'N' and d.in_warehouse = #{warehouseId} AND h.order_status = '待入库'
AND h.order_type = '生产入库' and d.in_warehouse = #{warehouseId} AND h.order_status = '待入库'
<if test="searchCode != null and searchCode != ''">
AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%')

Loading…
Cancel
Save