调整更新跟进任务状态顺序

This commit is contained in:
zhangchenbiao
2023-08-21 15:48:50 +08:00
parent a22baae4d9
commit fc364959ef

View File

@@ -186,6 +186,8 @@ public class FollowTaskServiceImpl implements FollowTaskService {
@Override
public void followTaskAnHourAgoRemind() {
//更新过期的任务状态
hyFollowTaskDAO.updateUndoTaskStatusToOverdue();
//获取一个小时后的任务
Boolean hasNext = true;
int pageNum = CommonConstants.ONE, pageSize = CommonConstants.HUNDRED;
@@ -218,8 +220,6 @@ public class FollowTaskServiceImpl implements FollowTaskService {
noticeService.sendFeiShuNotice(FeiShuNoticeMsgEnum.FOLLOW_TASK, Arrays.asList(followTask.getFollowUserId()), content);
}
}
//更新过期的任务状态
hyFollowTaskDAO.updateUndoTaskStatusToOverdue();
}
@Override