diff --git a/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java b/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java index e9e7ba2..d5bf7b2 100644 --- a/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java +++ b/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java @@ -492,7 +492,7 @@ public class CustomerViewService { List getShopNewCustomerList(List newCustimerList){ //店铺分组 Map> shopIdMap = newCustimerList.stream().collect(Collectors.groupingBy(OpCustomer::getShopId)); - List shopIds = newCustimerList.stream().map(OpCustomer::getShopId).collect(Collectors.toList()); + List shopIds = newCustimerList.stream().filter(item -> item.getValidType() != 3).map(OpCustomer::getShopId).distinct().collect(Collectors.toList()); if(shopIds.size() == 0){ return new ArrayList<>(); }