删除客户导购关系

dev_0531
yechenhao 5 years ago
parent 1b2c4dda74
commit 3d21b06a23

@ -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<>();
}

Loading…
Cancel
Save