智慧保安后台管理-外网
tangzy
2021-08-30 98662cb4c374e79e3a6ecdb5e0a7f9fa618dbd3b
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>