From eaf3066869d9dd0bfff700d69cbcf71b938e53d7 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Fri, 11 Oct 2024 09:35:09 +0800 Subject: [PATCH] =?UTF-8?q?wms=E4=BE=9B=E5=BA=94=E5=95=86=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/wms/OdsProcureOrderMapper.xml | 2 +- .../src/main/resources/mapper/wms/WmsRawOrderInMapper.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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}