‘linchangsheng’ há 5 dias atrás
pai
commit
4e68eadf63

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

@@ -816,8 +816,7 @@ public class WorkerLogic {
         if (policy == null)
             return new ArrayList<>();
 
-        List<String> websitIds = policyWebsits.stream()
-                .map(PolicyWebsit::getWebsitId).collect(Collectors.toList());
+
         for (WebsitUser websitUser : websitUsers) {
 
             if ( policyWebsits.stream().filter(item ->item.getWebsitId().equals(websitUser.getWebsitId())).count() <1) {