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