qiubh 2 meses atrás
pai
commit
305c8a6575

+ 1
- 1
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/comm/CustomerManagerImpl.java Ver arquivo

@@ -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) {

Carregando…
Cancelar
Salvar