智慧保安后台管理-外网项目备份
Administrator
2021-09-28 9b2926bb808101f86d3657c2bcb8672849d53d61
src/main/java/org/springblade/modules/dispatcher/mapper/DispatcherMapper.xml
@@ -26,7 +26,14 @@
            blade_user bu
        on
            bu.id = sd.user_ids
        left join
            sys_jurisdiction sj
        on
            sj.id = sdu.jurisdiction
        where 1=1
        <if test="dispatcher.jurisdiction!=null  and dispatcher.jurisdiction!=''">
            and (sj.id = #{dispatcher.jurisdiction} or sj.parent_id = #{dispatcher.jurisdiction})
        </if>
        <if test="dispatcher.dispatcherUnitId!=null">
            and sd.dispatcher_unit_id = #{dispatcher.dispatcherUnitId}
        </if>