|
|
@@ -252,6 +252,9 @@ public class CoreMonitoringRetrievalTaskServiceImpl extends ServiceImpl<CoreMoni
|
|
|
//立即生效的计划要排除截至时间在当前时间之前的数据
|
|
|
List<CoreMonitoringRetrievalTask> lista = taskList.stream().filter(r -> r.getPlanEndTime().after(new Date())).collect(Collectors.toList());
|
|
|
if (CollectionUtil.isNotEmpty(lista)) {
|
|
|
+ this.saveBatch(lista);
|
|
|
+ }
|
|
|
+/* if (CollectionUtil.isNotEmpty(lista)) {
|
|
|
List<CoreMonitoringRetrievalTask> listAll = new ArrayList<>();
|
|
|
//对list进行重新编号和保存
|
|
|
//对lista 按机构进行分组
|
|
|
@@ -272,7 +275,7 @@ public class CoreMonitoringRetrievalTaskServiceImpl extends ServiceImpl<CoreMoni
|
|
|
}
|
|
|
|
|
|
this.saveBatch(listAll);
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
|
|
|
/**
|