Commit 26154d57 by 刘宇峰

新增车辆-车型管理

1 parent 1bbe9985
...@@ -834,9 +834,11 @@ public class VehicleService { ...@@ -834,9 +834,11 @@ public class VehicleService {
brandList.forEach(brand -> { brandList.forEach(brand -> {
//子品牌 //子品牌
List<CarInfoSelected> subBrandList = tenantVehicleTypeMapper.selectSubBrandByTenantIds(tenantIds, brand.getId()); List<CarInfoSelected> subBrandList = tenantVehicleTypeMapper.selectSubBrandByTenantIds(tenantIds, brand.getId());
brand.setChilds(subBrandList);
subBrandList.forEach(subBrand -> { subBrandList.forEach(subBrand -> {
//车系 //车系
List<CarInfoSelected> seriesList = tenantVehicleTypeMapper.selectSeriesByTenantIds(tenantIds, subBrand.getId()); List<CarInfoSelected> seriesList = tenantVehicleTypeMapper.selectSeriesByTenantIds(tenantIds, subBrand.getId());
subBrand.setChilds(seriesList);
seriesList.forEach(series -> { seriesList.forEach(series -> {
//车型 //车型
List<CarInfoSelected> typesList = tenantVehicleTypeMapper.selectTypesByTenantIds(tenantIds, series.getId()); List<CarInfoSelected> typesList = tenantVehicleTypeMapper.selectTypesByTenantIds(tenantIds, series.getId());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!