| | |
| | | blade_user bu |
| | | on |
| | | bu.id = sd.user_ids |
| | | left join |
| | | sys_information si |
| | | on |
| | | si.departmentid = bu.dept_id |
| | | where 1=1 |
| | | <if test="dispatcher.dispatcherUnitId!=null"> |
| | | and sd.dispatcher_unit_id = #{dispatcher.dispatcherUnitId} |
| | |
| | | <if test="dispatcher.userIds!=null and dispatcher.userIds!=''"> |
| | | and sd.user_ids like concat('%', #{dispatcher.userIds},'%') |
| | | </if> |
| | | <if test="dispatcher.jurisdiction!=null and dispatcher.jurisdiction!='' and dispatcher.jurisdiction!='1372091709474910209' "> |
| | | and si.jurisdiction = #{dispatcher.jurisdiction} |
| | | </if> |
| | | <if test="dispatcher.name!=null and dispatcher.name!=''"> |
| | | and sd.name like concat('%', #{dispatcher.name},'%') |
| | | </if> |