智慧保安后台管理-外网项目备份
tangzy
2021-08-30 34b6c77e9bcdca7bed5ed622ed22e7fe6b1961c2
src/main/java/org/springblade/modules/dispatcher/mapper/DispatcherMapper.xml
@@ -33,6 +33,10 @@
        <if test="dispatcher.deptId!=null">
            and sd.dept_id = #{dispatcher.deptId}
        </if>
        <if test="dispatcher.dispatch!=null and dispatcher.dispatch!=''">
            and bu.dispatch = #{dispatcher.dispatch}
            and sd.status = #{dispatcher.dispatch}
        </if>
        <if test="dispatcher.userIds!=null and  dispatcher.userIds!=''">
            and sd.user_ids like concat('%', #{dispatcher.userIds},'%')
        </if>