智慧保安后台管理-外网-验收版本
Administrator
2021-09-10 a273df0334713f56882637cf1c0dba632e6f8e17
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -219,7 +219,6 @@
        br.id = bu.role_id
        where
        bu.is_deleted = 0
        and bd.dept_category = 1
        and role_alias = '保安'
        <if test="user.realName!=null and user.realName != ''">
            and bu.real_name like concat(concat('%', #{user.realName}),'%')
@@ -268,8 +267,6 @@
        bu.dept_id = bd.id
        where
        bu.is_deleted = 0
        and
        bd.dept_category = 1
        and
        (hold = 2 or hold = 3)
        <if test="user.deptId!=null and user.deptId != ''">
@@ -324,7 +321,6 @@
            bu.is_deleted = 0
            and bu.status = 1
            and bu.examination_type != 1
            and bd.dept_category = 1
            and (hold = 2 or hold = 3)
            and bd.id = #{user.deptId}
            <if test="user.examType==1">