‘linchangsheng’ 6 ماه پیش
والد
کامیت
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) {