|
@@ -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")
|