src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -587,7 +587,7 @@ where bu.is_deleted = 0 and bu.status = 1 and (bu.examination_type != 1 or bu.examination_type is null) and ((bu.examination_type != 1 and bu.examination_type != 2) or bu.examination_type is null) and (hold = 2 or hold = 3) and bd.id = #{user.deptId} and br.role_alias = '保安'