|
@@ -757,7 +757,7 @@ public class WmDaAgentServiceImpl extends ServiceImpl<WmDaAgentMapper, WmDaAgent
|
|
|
// wmDeptList.add(wmDept);
|
|
|
// return wmDeptList;
|
|
|
// }
|
|
|
- if (SecurityUtils.getRoles().contains(1) || SecurityUtils.getRoles().contains(2)) {
|
|
|
+ if (SecurityUtils.getRoles().contains(1) || SecurityUtils.getRoles().contains(2) || SecurityUtils.getRoles().contains(35)) {
|
|
|
SysDept sysDept = new SysDept();
|
|
|
List<SysDept> sysDeptList = sysDeptMapper.selectListByDept(sysDept);
|
|
|
for (int i = 0; i < sysDeptList.size(); i++) {
|