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