Commit 329994f9 authored by liucx's avatar liucx

修改运行时间

parent 4aeac41a
......@@ -31,7 +31,7 @@ public class TimedTaskController {
@ApiOperation(value = "日统计沟通记录次数", notes = "日统计沟通记录次数 ", httpMethod = "GET")
@GetMapping("dayCommunication")
@Scheduled(cron = "0 25 12,16 * * ?")
@Scheduled(cron = "0 45 12,16 * * ?")
// @Scheduled(cron = "0 34 12,17 * * ?")
public CommonResult dayCommunicationCount() {
communicationRecordStatisticalLogService.saveOrUpdateDay();
......@@ -40,7 +40,7 @@ public class TimedTaskController {
}
@ApiOperation(value = "周统计沟通记录次数", notes = "周统计沟通记录次数 ", httpMethod = "GET")
@GetMapping("weekCommunication")
@Scheduled(cron = "0 15 12,16 * * ?")
@Scheduled(cron = "0 55 12,16 * * ?")
public CommonResult weekCommunicationCount() {
communicationRecordStatisticalLogService.saveOrUpdateWeek();
logger.info("周统计沟通记录次数成功");
......@@ -49,7 +49,7 @@ public class TimedTaskController {
@ApiOperation(value = "月统计沟通记录次数", notes = "月统计沟通记录次数 ", httpMethod = "GET")
@GetMapping("mothCommunication")
// @Scheduled(cron = "0 32 12,17 * * ?")
@Scheduled(cron = "0 20 12,16 * * ?")
@Scheduled(cron = "0 50 12,16 * * ?")
public CommonResult monthCommunicationCount() {
communicationRecordStatisticalLogService.saveOrUpdateMonth();
logger.info("月统计沟通记录次数成功");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment