‘linchangsheng’ 6 mēneši atpakaļ
vecāks
revīzija
860429f317

+ 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) {