Browse Source

工作通知扫表发送

tags/24080901
CMM 1 year ago
parent
commit
fc45bb3c35
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/WorkNoticeFlowTask.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/WorkNoticeFlowTask.java View File

@@ -53,7 +53,7 @@ public class WorkNoticeFlowTask {
//1. 定时取 工作通知暂存表的数据进行发送
List<WorkNoticeStaging> stagingList = workNoticeStagingService.list(Wrappers.lambdaQuery(WorkNoticeStaging.class)
.eq(WorkNoticeStaging::getDead, Boolean.FALSE)
.ge(WorkNoticeStaging::getNextTime, LocalDateTime.now())
.le(WorkNoticeStaging::getNextTime, LocalDateTime.now())
.le(WorkNoticeStaging::getRetryTimes, StagingContant.Retry.MAX_RETRY_TIMES)
.orderByAsc(WorkNoticeStaging::getId));



Loading…
Cancel
Save