|
|
@@ -221,7 +221,11 @@ public class TMonitoringRetrievalPlanServiceImpl extends ServiceImpl<TMonitoring
|
|
|
}
|
|
|
}
|
|
|
if (tMonitoringRetrievalPlan.getPlanCycle().equals(ZERO.toString()) && CollectionUtils.isNotEmpty(tMonitoringRetrievalPlans)) {
|
|
|
- iCoreMonitoringRetrievalTaskService.noCycleTask(tMonitoringRetrievalPlans);
|
|
|
+ try {
|
|
|
+ iCoreMonitoringRetrievalTaskService.noCycleTask(tMonitoringRetrievalPlans);
|
|
|
+ }catch (Exception e){
|
|
|
+ throw new ServiceException("下发任务异常,请联系管理员");
|
|
|
+ }
|
|
|
}
|
|
|
return i;
|
|
|
}
|