xieb
2025-01-21 bd8d88e5e984e59a5c895ec1a254e3dbae1f9f21
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -25,6 +25,7 @@
        <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"/>
@@ -53,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>