diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/OdsProcureOrderMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/OdsProcureOrderMapper.xml index fdae2874..b014e205 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/OdsProcureOrderMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/OdsProcureOrderMapper.xml @@ -649,7 +649,7 @@ and o.User_Defined9 = #{userDefined9} and o.User_Defined10 = #{userDefined10} and o.User_Defined11 = #{userDefined11} - and o.Supplier_Code = #{supplierCode} + and o.Supplier_Code like concat('%', #{supplierCode}, '%') and o.Supplier_Name like concat('%', #{supplierName}, '%') diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml index fcb30273..2de78326 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml @@ -84,7 +84,8 @@ '%') and unit = #{unit} and buyer_group = #{buyerGroup} - and supply_code = #{supplyCode} + and supply_code like concat('%', #{supplyCode}, '%') + and sap_factory_code = #{sapFactoryCode} and send_spot = #{sendSpot} and request_amount = #{requestAmount}