From 8d29ed67caaa836bef92924d6f036e2248f8a0b5 Mon Sep 17 00:00:00 2001 From: PQZ Date: Wed, 7 Aug 2024 15:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/custom/CustomerMainMapper.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml b/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml index db2dc9bf..29c584e0 100644 --- a/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml +++ b/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml @@ -52,10 +52,7 @@ AND item.system_code = #{entity.systemCode} - AND main.phoneNumber LIKE concat('%',#{entity.phoneNumber},'%') - - - AND main.idCard LIKE concat('%',#{entity.idCard},'%') + AND main.phone_number LIKE concat('%',#{entity.phoneNumber},'%') GROUP BY main.id