From 087174b6f67c64a3180390f8ec814db7fc721bef Mon Sep 17 00:00:00 2001 From: A0010407 Date: Sat, 16 Sep 2023 10:22:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=AE=A2=E6=88=B7+=E5=B7=A5=E8=89=BAbom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/technology/ProProcessMapper.xml | 23 +++++++++---------- .../wms/controller/SysCustomerController.java | 4 ++-- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/op-modules/op-technology/src/main/resources/mapper/technology/ProProcessMapper.xml b/op-modules/op-technology/src/main/resources/mapper/technology/ProProcessMapper.xml index 5faa1055..a9d1f56f 100644 --- a/op-modules/op-technology/src/main/resources/mapper/technology/ProProcessMapper.xml +++ b/op-modules/op-technology/src/main/resources/mapper/technology/ProProcessMapper.xml @@ -68,7 +68,7 @@ - + @@ -305,17 +305,16 @@ - and supplier_code = #{supplierCode} - and zh_desc = #{zhDesc} + and supplier_code like concat('%', #{supplierCode}, '%') + and zh_desc like concat('%', #{zhDesc}, '%') and en_desc = #{enDesc} and supplier_type = #{supplierType} and account_number = #{accountNumber} @@ -52,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and area = #{area} and address = #{address} and postcode = #{postcode} - and contact = #{contact} + and contact like concat('%', #{contact}, '%') and contact_phone = #{contactPhone} and contact_position = #{contactPosition} and contact_email = #{contactEmail} @@ -170,4 +170,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{supplierId} + + + + + \ No newline at end of file