From 13f17e5f0f2bc304dbfbfd62e31786fd5ec26dd9 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 29 Jun 2021 10:38:35 +0800
Subject: [PATCH] 20210628 集物员审核

---
 gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml b/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
index 43c85d5..de9f4f6 100644
--- a/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
+++ b/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
@@ -23,7 +23,8 @@
         <where>
             1=1
             <if test="record.name != null and record.name != ''">
-                and (username like CONCAT(CONCAT(#{record.name}, '%'), '%') or phone=#{record.phone})
+                and (username like concat('%',#{record.name},'%')
+                or phone like concat('%',#{record.phone},'%') )
             </if>
             <if test="record.isJhy != null and record.isJhy != ''">
                 and is_jhy=#{record.isJhy}

--
Gitblit v1.9.1