‘linchangsheng’ 5 月之前
父节点
当前提交
860429f317
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      mall-server-api/src/main/java/com/gree/mall/manager/logic/notice/NoticeLogic.java

+ 3 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/notice/NoticeLogic.java

@@ -363,7 +363,9 @@ public class NoticeLogic {
 
             if (CollectionUtils.isNotEmpty(noticeWebsitRecords)) {
                 List<NoticeWebsit> noticeWebsits = noticeWebsitService.lambdaQuery().in(NoticeWebsit::getNoticeWebsitId,
-                        noticeWebsitRecords.stream().map(NoticeWebsitRecord::getNoticeWebsitId).collect(Collectors.toList()))
+                        noticeWebsitRecords.stream().map(NoticeWebsitRecord::getNoticeWebsitId)
+                                .collect(Collectors.toList()))
+                        .eq(NoticeWebsit::getStatus,"SEND")
                         .list();
 
                 for (NoticeWebsit noticeWebsit : noticeWebsits) {