‘linchangsheng’ 5 天之前
父節點
當前提交
d19eca3673

+ 1 - 1
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/logic/policy/WorkerLogic.java

@@ -809,7 +809,7 @@ public class WorkerLogic {
                 .map(PolicyWebsit::getWebsitId).collect(Collectors.toList());
         for (WebsitUser websitUser : websitUsers) {
 
-            if (!websitIds.contains(websitUser.getWebsitId())) {
+            if ( policyWebsits.stream().filter(item ->item.getWebsitId().equals(websitUser.getWebsitId())).count() <1) {
                 continue;
             }