Administrator
2021-07-27 bb99e8923e36dbbc2639fcc0a1a1191e2221277d
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -149,6 +149,9 @@
        <if test="user.nativeplace!=null and user.nativeplace != ''">
            and bu.nativeplace = #{user.nativeplace}
        </if>
        <if test="user.deptId!=null and user.deptId != ''">
            and bu.dept_id = #{user.deptId}
        </if>
        <if test="user.sex!=null and user.sex != ''">
            and bu.sex = #{user.sex}
        </if>
@@ -164,7 +167,7 @@
            and bu.securitynumber = #{user.securitynumber}
        </if>
        <if test="deptIdList!=null and deptIdList.size>0">
            and id in (
            and bu.id in (
            SELECT
            user_id
            FROM