|
|
@@ -40,7 +40,7 @@ public class CustomerManagerImpl extends AbstractCommManager implements Customer |
|
|
|
// 统计车辆情况 |
|
|
|
List<Object[]> result = vehicleInfoRepo.groupByCustomerId(customerInfoList.stream().map(QtkCustomerInfo :: getCustomerId).collect(Collectors.toList())); |
|
|
|
Map<String, Object[]> vehicleMap = Maps.newConcurrentMap(); |
|
|
|
if (isEmpty(result)) { |
|
|
|
if (!isEmpty(result)) { |
|
|
|
vehicleMap = result.stream().collect(Collectors.toMap(o -> o[0].toString(), Function.identity())); |
|
|
|
} |
|
|
|
for (QtkCustomerInfo customerInfo : customerInfoList) { |