|
@@ -275,6 +275,8 @@ public class IotProjectInfoServiceImpl implements IotProjectInfoService {
|
|
|
ryChildDeptIds.add(158l);
|
|
ryChildDeptIds.add(158l);
|
|
|
Set<Long> rdChildDeptIds = deptService.getChildDeptIdListFromCache(163l);
|
|
Set<Long> rdChildDeptIds = deptService.getChildDeptIdListFromCache(163l);
|
|
|
rdChildDeptIds.add(163l);
|
|
rdChildDeptIds.add(163l);
|
|
|
|
|
+ Set<Long> fiveChildDeptIds = deptService.getChildDeptIdListFromCache(388l);
|
|
|
|
|
+ fiveChildDeptIds.add(388l);
|
|
|
if (rhChildDeptIds.contains(deptId)) {
|
|
if (rhChildDeptIds.contains(deptId)) {
|
|
|
// 当前登录所属公司为 瑞恒
|
|
// 当前登录所属公司为 瑞恒
|
|
|
allChildDeptIds.add(157l);
|
|
allChildDeptIds.add(157l);
|
|
@@ -287,6 +289,10 @@ public class IotProjectInfoServiceImpl implements IotProjectInfoService {
|
|
|
// 当前登录所属公司为 瑞都
|
|
// 当前登录所属公司为 瑞都
|
|
|
allChildDeptIds.add(163l);
|
|
allChildDeptIds.add(163l);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (fiveChildDeptIds.contains(deptId)) {
|
|
|
|
|
+ // 当前登录所属公司为 5#公司
|
|
|
|
|
+ allChildDeptIds.add(388l);
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
return allChildDeptIds;
|
|
return allChildDeptIds;
|