|
@@ -717,6 +717,7 @@ public class IotDeviceServiceImpl implements IotDeviceService {
|
|
|
// 查询 瑞都下的所有 部门
|
|
// 查询 瑞都下的所有 部门
|
|
|
if (deptId == 163l || deptId == 388l) {
|
|
if (deptId == 163l || deptId == 388l) {
|
|
|
Set<Long> tempChildDeptIds = deptService.getChildDeptIdListFromCache(deptId);
|
|
Set<Long> tempChildDeptIds = deptService.getChildDeptIdListFromCache(deptId);
|
|
|
|
|
+ tempChildDeptIds.add(deptId);
|
|
|
childDeptIds.addAll(tempChildDeptIds);
|
|
childDeptIds.addAll(tempChildDeptIds);
|
|
|
}
|
|
}
|
|
|
if (childDeptIds.contains(randomDeptId)) {
|
|
if (childDeptIds.contains(randomDeptId)) {
|