From bd8d88e5e984e59a5c895ec1a254e3dbae1f9f21 Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Tue, 21 Jan 2025 14:55:39 +0800
Subject: [PATCH] 修复
---
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
index ea9e949..e4e52e1 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -20,8 +20,12 @@
<result column="real_name" property="realName"/>
<result column="email" property="email"/>
<result column="phone" property="phone"/>
+ <result column="card_no" property="cardNo"/>
+ <result column="education_background" property="educationBackground"/>
+ <result column="entry_job_time" property="entryJobTime"/>
<result column="birthday" property="birthday"/>
<result column="sex" property="sex"/>
+ <result column="employee_type" property="employeeType"/>
<result column="role_id" property="roleId"/>
<result column="dept_id" property="deptId"/>
<result column="post_id" property="postId"/>
@@ -50,6 +54,9 @@
<if test="user.userType!=null and user.userType != ''">
and user_type = #{user.userType}
</if>
+ <if test="user.phone!=null and user.phone != ''">
+ and phone like concat('%', #{user.phone},'%')
+ </if>
<if test="user.postId!=null and user.postId != ''">
and post_id = #{user.postId}
</if>
--
Gitblit v1.9.3