xieb
2025-01-21 bd8d88e5e984e59a5c895ec1a254e3dbae1f9f21
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>