From 8269efac48716a328c12a4e836a4efb4a5f277d9 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 02 Aug 2021 17:09:35 +0800
Subject: [PATCH] 20210802
---
gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml b/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
index 6a01c5a..c94ed1e 100644
--- a/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
+++ b/gc-user/src/main/resources/mapper/user/JhyInfoMapper.xml
@@ -19,13 +19,14 @@
</select>
<select id="selectJhyInfoList" resultType="com.xzx.gc.user.vo.JhyInfoListVo">
- select * from xzx_jhy_info
+ select *,CREATED_TIME createTime from xzx_jhy_info
<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.name != ''">
+ <if test="record.isJhy != null and record.isJhy != ''">
and is_jhy=#{record.isJhy}
</if>
<if test="record.status != null">
--
Gitblit v1.9.1