Commit da9a2cfc by 刘宇峰

新增车辆-车型管理

1 parent 2a8a7892
...@@ -830,11 +830,7 @@ public class VehicleService { ...@@ -830,11 +830,7 @@ public class VehicleService {
seriesList.forEach(series -> { seriesList.forEach(series -> {
//车型 //车型
List<CarInfoSelected> typesList = tenantVehicleTypeMapper.selectTypesByTenantIds(tenantIds, series.getId()); List<CarInfoSelected> typesList = tenantVehicleTypeMapper.selectTypesByTenantIds(tenantIds, series.getId());
if (CollectionUtils.isNotEmpty(typesList)) { series.setChilds(typesList);
series.setChilds(typesList);
} else {
series.setChilds(Lists.newArrayList());
}
}); });
}); });
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!