智慧保安后台管理项目备份
tangzy
2021-11-30 874043e11695651e3bc753edeaeab4d788530e20
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -277,7 +277,7 @@
            and bu.hold = #{user.hold}
        </if>
        <if test="user.type!=null">
            and bu.equipment_code !="" and bu.equipment_code is not null and bu.equipment_code !=null
            and bu.equipment_code is not null
        </if>
        <if test="user.jurisdiction!=null and user.jurisdiction != '' and user.jurisdiction != '1372091709474910209'">
            and (sj.id = #{user.jurisdiction} or sj.parent_id = #{user.jurisdiction})