定时任务调整

This commit is contained in:
zhangchenbiao
2023-08-16 19:15:54 +08:00
parent 4533b233df
commit c030182b07
3 changed files with 5 additions and 5 deletions

View File

@@ -93,11 +93,11 @@ public class JobHandler {
}
}
@XxlJob("followTaskRemind")
public void followTaskRemind(){
@XxlJob("followTaskDailyRemind")
public void followTaskDailyRemind(){
try {
log.info("跟进任务提醒开始");
followTaskService.followTaskRemind();
followTaskService.followTaskDailyRemind();
log.info("跟进任务提醒结束");
XxlJobHelper.handleSuccess();
}catch (Exception e){

View File

@@ -87,5 +87,5 @@ public interface FollowTaskService {
* 跟进任务每日10点提醒
* @return
*/
void followTaskRemind();
void followTaskDailyRemind();
}

View File

@@ -233,7 +233,7 @@ public class FollowTaskServiceImpl implements FollowTaskService {
}
@Override
public void followTaskRemind() {
public void followTaskDailyRemind() {
//获取已逾期的 以及截止时间为当天的任务 的招商经理
Boolean hasNext = true;
int pageNum = CommonConstants.ONE, pageSize = CommonConstants.HUNDRED;