|
|
@@ -106,6 +106,7 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
private ICoreMonitoringRetrievalTaskBuilderService coreMonitoringRetrievalTaskBuilderService;
|
|
|
@Autowired
|
|
|
private RemoteFileService fileService;
|
|
|
+ @Lazy
|
|
|
@Autowired
|
|
|
private CoreMonitoringRetrievalTaskMapper coreMonitoringRetrievalTaskMapper;
|
|
|
@Autowired
|
|
|
@@ -126,7 +127,9 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
@Lazy
|
|
|
private ICoreReminderConfigurationService reminderConfigurationService;
|
|
|
@Autowired
|
|
|
+ @Lazy
|
|
|
ICoreReminderScheduleService reminderScheduleService;
|
|
|
+
|
|
|
@Override
|
|
|
public TableDataInfo selectPage(TMonitoringRetrievalPlan tMonitoringRetrievalPlan) {
|
|
|
//未删除
|
|
|
@@ -1840,7 +1843,7 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
Long orgId = userEntry.getKey();
|
|
|
List<SysUser> userList = userEntry.getValue();
|
|
|
Optional<SysOrgVO> first = cacheList.stream().filter(org -> org.getId().equals(orgId)).findFirst();
|
|
|
- if (!first.isPresent()){
|
|
|
+ if (!first.isPresent()) {
|
|
|
continue;
|
|
|
}
|
|
|
String path = first.get().getPath();
|
|
|
@@ -1851,8 +1854,8 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
}
|
|
|
for (SysUser sysUser : userList) {
|
|
|
for (CoreMonitoringRetrievalTask task : taskList) {
|
|
|
- boolean exit = exitTaskBySendModule.stream().anyMatch(t -> ObjectUtil.equal(t.getTaskId(), String.valueOf(task.getId())));
|
|
|
- if (exit){
|
|
|
+ boolean exit = exitTaskBySendModule.stream().anyMatch(t -> ObjectUtil.equal(t.getTaskId(), String.valueOf(task.getId())));
|
|
|
+ if (exit) {
|
|
|
//说明任务已经存在短信提醒任务
|
|
|
continue;
|
|
|
}
|