|
|
|
@ -448,7 +448,7 @@ public class BuyerServiceImpl implements BuyerService { |
|
|
|
|
} |
|
|
|
|
String buyerId = baseService.getGenerateShotKey(); |
|
|
|
|
if (CollectionUtil.isNotEmpty(buyerEntity.getBuyerEntityDetail())) { |
|
|
|
|
Map<String, BuyerEntityDetail> collect = buyerEntity.getBuyerEntityDetail().stream().collect(Collectors.toMap(t -> t.getAddress() + t.getPhone() + t.getBankName() + t.getBankAccount(), t -> t)); |
|
|
|
|
Map<String, BuyerEntityDetail> collect = buyerEntity.getBuyerEntityDetail().stream().collect(Collectors.toMap(t -> t.getAddress() + t.getPhone() + t.getBankName() + t.getBankAccount(), t -> t,(t1, t2) -> t2)); |
|
|
|
|
List<BuyerEntityDetail> collect1 = collect.values().stream().collect(Collectors.toList()); |
|
|
|
|
buyerEntity.setBuyerEntityDetail(collect1); |
|
|
|
|
for (BuyerEntityDetail t : buyerEntity.getBuyerEntityDetail()) { |
|
|
|
|