Explorar o código

修改消息推送定时任务

wch %!s(int64=3) %!d(string=hai) anos
pai
achega
02d4c35961

+ 1 - 0
ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/noticeTask.java

@@ -36,6 +36,7 @@ public class noticeTask
     public void notice(){
         Notice notice = new Notice();
         notice.setTaskStatus("未发布");
+        notice.setIsPublish("1");
         List<Notice> list = noticeService.selectNoticeList(notice);
         List<Notice> listStatus =  list.stream().filter(e->e.getPublishTime().before(DateUtils.getNowDate())).collect(Collectors.toList());
         listStatus.stream().forEach(e->{