智慧保安后台管理项目备份
Administrator
2021-11-13 d23e42599166632312cca795ae6936905fc589b7
src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml
@@ -445,7 +445,7 @@
        sj.id = si.jurisdiction
        WHERE
        1=1
        and si.stats != 4
        and si.stats !=3
        AND dept.is_deleted = 0
        <if test="jurisdiction!=null and jurisdiction!='' and jurisdiction!='1372091709474910209'">
            and (sj.id = #{jurisdiction} or sj.parent_id = #{jurisdiction})