吉安感知网项目-后端
linwei
2026-04-13 90916d5eac45b4f714158a4276e48bed2eea1864
fix:需要把用户是0的也查询出来
1 files modified
2 ■■■ changed files
drone-service/drone-system/src/main/java/org/sxkj/system/mapper/UserMapper.xml 2 ●●● patch | view | raw | blame | history
drone-service/drone-system/src/main/java/org/sxkj/system/mapper/UserMapper.xml
@@ -55,7 +55,7 @@
            and u.user_type = #{user.userType}
        </if>
        <if test="user.sysType!=null and user.sysType != ''">
            and (r.sys_type = #{user.sysType} or r.sys_type  = '0')
            and (u.sys_type = #{user.sysType} or u.sys_type  = '0')
        </if>
        <if test="deptIdList!=null and deptIdList.size>0">
            and u.id in (