|
@@ -22,7 +22,7 @@ public class TimedTaskController {
|
|
22
|
@Resource
|
22
|
@Resource
|
|
23
|
private TimedTaskService timeTaskService;
|
23
|
private TimedTaskService timeTaskService;
|
|
24
|
|
24
|
|
|
25
|
- @Scheduled(cron = "0 0 1 * * ?")
|
|
|
|
|
|
25
|
+// @Scheduled(cron = "0 0 1 * * ?")
|
|
26
|
@RequestMapping(value="/checkYlwl", method = RequestMethod.GET)
|
26
|
@RequestMapping(value="/checkYlwl", method = RequestMethod.GET)
|
|
27
|
@ApiOperation(value="检测应轮未轮报警数据", notes = "定时任务检测,每天凌晨1点执行")
|
27
|
@ApiOperation(value="检测应轮未轮报警数据", notes = "定时任务检测,每天凌晨1点执行")
|
|
28
|
public void checkYlwl() {
|
28
|
public void checkYlwl() {
|
|
@@ -33,7 +33,7 @@ public class TimedTaskController {
|
|
33
|
}
|
33
|
}
|
|
34
|
}
|
34
|
}
|
|
35
|
|
35
|
|
|
36
|
- @Scheduled(cron = "0 30 1 * * ?")
|
|
|
|
|
|
36
|
+// @Scheduled(cron = "0 30 1 * * ?")
|
|
37
|
@RequestMapping(value="/checkLhyj", method = RequestMethod.GET)
|
37
|
@RequestMapping(value="/checkLhyj", method = RequestMethod.GET)
|
|
38
|
@ApiOperation(value="检测轮换预警数据", notes = "定时任务检测,每天凌晨1:30点执行")
|
38
|
@ApiOperation(value="检测轮换预警数据", notes = "定时任务检测,每天凌晨1:30点执行")
|
|
39
|
public void checkLhyj() {
|
39
|
public void checkLhyj() {
|
|
@@ -44,7 +44,7 @@ public class TimedTaskController {
|
|
44
|
}
|
44
|
}
|
|
45
|
}
|
45
|
}
|
|
46
|
|
46
|
|
|
47
|
- @Scheduled(cron = "0 0 2 * * ?")
|
|
|
|
|
|
47
|
+// @Scheduled(cron = "0 0 2 * * ?")
|
|
48
|
@RequestMapping(value="/checkJkqyj", method = RequestMethod.GET)
|
48
|
@RequestMapping(value="/checkJkqyj", method = RequestMethod.GET)
|
|
49
|
@ApiOperation(value="检测架空期预警数据", notes = "定时任务检测,每天凌晨2点执行")
|
49
|
@ApiOperation(value="检测架空期预警数据", notes = "定时任务检测,每天凌晨2点执行")
|
|
50
|
public void checkJkqyj() {
|
50
|
public void checkJkqyj() {
|