吉安感知网项目-后端
linwei
2026-04-13 3d65f5d38805c7768073a96b4e3773a03a38db17
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 (r.sys_type = #{user.sysType} or r.sys_type  = '0')
        </if>
        <if test="deptIdList!=null and deptIdList.size>0">
            and u.id in (