From 297b4b60ca499969eeccc1a5113810fdc2034486 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 23 Jul 2021 10:47:20 +0800
Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
---
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..c94ed1e 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 mobile like concat('%',#{record.name},'%') )
</if>
<if test="record.isJhy != null and record.isJhy != ''">
and is_jhy=#{record.isJhy}
--
Gitblit v1.9.1