| | |
| | | <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"/> |
| | |
| | | <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> |
| | |
| | | <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> |
| | | <if test="deptIdList!=null and deptIdList.size>0"> |
| | | and id in ( |
| | | SELECT |