Browse Source

xxl-job 调度失败和成功提示修改
XxlJobHelper.handleSuccess("诊断报告调度任务执行成功");

wanghs 2 years ago
parent
commit
0fdd9ce6ae

+ 1 - 1
schedule-job/alarm-schedule/src/main/java/com/gyee/wisdom/alarm/schedule/job/EarlyReportHandler.java

@@ -84,7 +84,7 @@ public class EarlyReportHandler {
             result = ft.get();
             result = ft.get();
             if (result.isSuccess()) {
             if (result.isSuccess()) {
                 XxlJobHelper.log("诊断报告调度任务执行成功");
                 XxlJobHelper.log("诊断报告调度任务执行成功");
-                XxlJobHelper.handleFail("诊断报告调度任务执行成功");
+                XxlJobHelper.handleSuccess("诊断报告调度任务执行成功");
             } else {
             } else {
 
 
                 XxlJobHelper.handleFail(JSON.toJSONString(result.getMsg()));
                 XxlJobHelper.handleFail(JSON.toJSONString(result.getMsg()));