‘linchangsheng’ 5 napja
szülő
commit
13154e15b2

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

@@ -804,8 +804,15 @@ public class WorkerLogic {
 
         if (policy == null)
             return new ArrayList<>();
+
+        List<String> websitIds = policyWebsits.stream()
+                .map(PolicyWebsit::getPolicyId).collect(Collectors.toList());
         for (WebsitUser websitUser : websitUsers) {
 
+            if (!websitIds.contains(websitUser.getWebsitId())) {
+                continue;
+            }
+
             if (  policyOrderService.lambdaQuery()
                     .eq(PolicyOrder::getWebsitUserId,websitUser.getId())
                     .eq(PolicyOrder::getType,"DS")