Sfoglia il codice sorgente

工作通知扫表发送

master
CMM 1 anno fa
parent
commit
fc45bb3c35
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi 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…
Annulla
Salva