From 0f87f11db9614b8919291333644dd699c9714919 Mon Sep 17 00:00:00 2001 From: Yen Date: Sun, 29 Jan 2023 09:50:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=90=9C=E7=B4=A2=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=A8=A1=E7=B3=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/bms/BmsSupplierMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/bms/BmsSupplierMapper.xml b/src/main/resources/mapper/bms/BmsSupplierMapper.xml index 747afea3..5562f086 100644 --- a/src/main/resources/mapper/bms/BmsSupplierMapper.xml +++ b/src/main/resources/mapper/bms/BmsSupplierMapper.xml @@ -81,8 +81,8 @@ and `bms_supplier`.`region_second` = #{query.regionSecond} and `bms_supplier`.`region_third` = #{query.regionThird} and `bms_supplier`.`address` = #{query.address} - and `bms_supplier`.`name` = #{query.name} - and `bms_supplier`.`code` = #{query.code} + and `bms_supplier`.`name` like concat('%',#{query.name},'%') + and `bms_supplier`.`code` like concat('%',#{query.code},'%') and `bms_supplier`.`pid` = #{query.pid} and `bms_supplier`.`parent_code` = #{query.parentCode} and `bms_supplier`.`stop_flag` = #{query.stopFlag}