Commit 9e26fec2 authored by liucx's avatar liucx

恢复运行时间

parent 9ff31a53
......@@ -31,8 +31,8 @@ public class TimedTaskController {
@ApiOperation(value = "日统计沟通记录次数", notes = "日统计沟通记录次数 ", httpMethod = "GET")
@GetMapping("dayCommunication")
// @Scheduled(cron = "0 25 12,16 * * ?")
@Scheduled(cron = "0 34 12,17 * * ?")
@Scheduled(cron = "0 25 12,16 * * ?")
// @Scheduled(cron = "0 34 12,17 * * ?")
public CommonResult dayCommunicationCount() {
communicationRecordStatisticalLogService.saveOrUpdateDay();
logger.info("日统计沟通记录次数成功");
......@@ -40,8 +40,8 @@ public class TimedTaskController {
}
@ApiOperation(value = "周统计沟通记录次数", notes = "周统计沟通记录次数 ", httpMethod = "GET")
@GetMapping("weekCommunication")
@Scheduled(cron = "0 33 12,17 * * ?")
//@Scheduled(cron = "0 15 12,16 * * ?")
// @Scheduled(cron = "0 33 12,17 * * ?")
@Scheduled(cron = "0 15 12,16 * * ?")
public CommonResult weekCommunicationCount() {
communicationRecordStatisticalLogService.saveOrUpdateWeek();
logger.info("日统计沟通记录次数成功");
......@@ -49,8 +49,8 @@ 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 32 12,17 * * ?")
@Scheduled(cron = "0 20 12,16 * * ?")
public CommonResult monthCommunicationCount() {
communicationRecordStatisticalLogService.saveOrUpdateMonth();
logger.info("月统计沟通记录次数成功");
......@@ -61,7 +61,7 @@ public class TimedTaskController {
@ApiOperation(value = "总数据统计", notes = "总数据统计 ", httpMethod = "GET")
// @Scheduled(cron = "0 10 8,12,17 * * ?")
@Scheduled(cron = "0 31 8,12,17 * * ?")
@Scheduled(cron = "0 31 8,12,16 * * ?")
public CommonResult totalommunication() {
communicationRecordStatisticalLogService.totalommunication();
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