From d2cf8a7f7bcf49ace058d9eec587d75c4f764a2e Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Tue, 02 Jan 2024 11:56:13 +0800
Subject: [PATCH] 考核任务设置被考核人
---
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml | 12 ++++++++++++
1 files changed, 12 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 fd25827..e08b50e 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -20,6 +20,9 @@
<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="role_id" property="roleId"/>
@@ -35,6 +38,12 @@
<if test="user.tenantId!=null and user.tenantId != ''">
and tenant_id = #{user.tenantId}
</if>
+ <if test="user.code!=null and user.code != ''">
+ and code like concat('%', #{user.code},'%')
+ </if>
+ <if test="user.name!=null and user.name != ''">
+ and name like concat('%', #{user.name},'%')
+ </if>
<if test="user.account!=null and user.account != ''">
and account = #{user.account}
</if>
@@ -44,6 +53,9 @@
<if test="user.userType!=null and user.userType != ''">
and user_type = #{user.userType}
</if>
+ <if test="user.postId!=null and user.postId != ''">
+ and post_id = #{user.postId}
+ </if>
<if test="deptIdList!=null and deptIdList.size>0">
and id in (
SELECT
--
Gitblit v1.9.3