|
|
@@ -1188,7 +1188,9 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
|
|
|
Set<Long> deviceDeptIds = new HashSet<>();
|
|
|
if (CollUtil.isNotEmpty(devices)) {
|
|
|
devices.forEach(device -> {
|
|
|
- deviceDeptIds.add(device.getDeptId());
|
|
|
+ if (haveDeviceDeptIds.contains(device.getDeptId())) {
|
|
|
+ deviceDeptIds.add(device.getDeptId());
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
projectDeptPair.forEach((projectDeptId, projectDept) -> {
|