|
|
|
@ -492,7 +492,7 @@ public class CustomerViewService {
|
|
|
|
|
List<CustomerViewShopVO> getShopNewCustomerList(List<OpCustomer> newCustimerList){
|
|
|
|
|
//店铺分组
|
|
|
|
|
Map<Long, List<OpCustomer>> shopIdMap = newCustimerList.stream().collect(Collectors.groupingBy(OpCustomer::getShopId));
|
|
|
|
|
List<Long> shopIds = newCustimerList.stream().map(OpCustomer::getShopId).collect(Collectors.toList());
|
|
|
|
|
List<Long> shopIds = newCustimerList.stream().filter(item -> item.getValidType() != 3).map(OpCustomer::getShopId).distinct().collect(Collectors.toList());
|
|
|
|
|
if(shopIds.size() == 0){
|
|
|
|
|
return new ArrayList<>();
|
|
|
|
|
}
|
|
|
|
|