diff --git a/src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml b/src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml index cfcb426..0fe46a5 100644 --- a/src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml +++ b/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 = '待入库' AND ( h.order_no LIKE CONCAT('%', #{searchCode}, '%')