|
|
@ -508,42 +508,42 @@ public class BaseVehicleService extends MybatisBaseService<BaseVehicleMapper, Ba |
|
|
|
list1.add(getConfigValueSpanSize("版本", currentCarVo.getVehicleVersionValue(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("燃料", currentCarVo.getFuelTypeValue(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("变速箱", currentCarVo.getGearboxTypeValue(), 1)); |
|
|
|
List<ConfigInfoSpanSize> list2 = new ArrayList<>(); |
|
|
|
list2.addAll(list1); |
|
|
|
list2.add(getConfigValueSpanSize("细分市场", currentCarVo.getMarketSegments(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("系别", currentCarVo.getDepartment(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("发动机型号", currentCarVo.getEngineTypeValue(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("公告型号", currentCarVo.getAnnouncementModel(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("规格型号", currentCarVo.getSpecifications(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("货箱", currentCarVo.getPackingCase(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("内部编码", currentCarVo.getInsideCode(), 1)); |
|
|
|
modelInfoList.add(list1); |
|
|
|
modelInfoList.add(list2); |
|
|
|
configDetailVo.setModelInfo(modelInfoList); |
|
|
|
// List<ConfigInfoSpanSize> list2 = new ArrayList<>();
|
|
|
|
// list2.addAll(list1);
|
|
|
|
list1.add(getConfigValueSpanSize("细分市场", currentCarVo.getMarketSegments(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("系别", currentCarVo.getDepartment(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("发动机型号", currentCarVo.getEngineTypeValue(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("公告型号", currentCarVo.getAnnouncementModel(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("规格型号", currentCarVo.getSpecifications(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("货箱", currentCarVo.getPackingCase(), 1)); |
|
|
|
list1.add(getConfigValueSpanSize("内部编码", currentCarVo.getInsideCode(), 1)); |
|
|
|
// modelInfoList.add(list1);
|
|
|
|
// modelInfoList.add(list2);
|
|
|
|
configDetailVo.setModeInfo(list1); |
|
|
|
//配置详细数据
|
|
|
|
AppModelConfigDetailsVo configVo = baseModelConfigService.getAppModelConfigDetailsVo(modelSid, configSid, useOrg); |
|
|
|
List<List<ConfigInfoSpanSize>> commonConfigInfoList = new ArrayList<>(); |
|
|
|
List<ConfigInfoSpanSize> list3 = new ArrayList<>(); |
|
|
|
list3.add(getConfigValueSpanSize("颜色", configVo.getCarColor(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("缓冲器", configVo.getSlowMachine(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("后视镜", configVo.getRearViewMirror(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("轮胎", configVo.getTireSize(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("驾驶室", configVo.getSpecification(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("后桥速比", configVo.getRearAxleRatio(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("空调", configVo.getAirConditioner(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("轮毂材质", configVo.getHubMaterial(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("导流罩", configVo.getBaffleModel(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("悬架", configVo.getSuspension(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("座椅", configVo.getSeat(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("护轮罩", configVo.getTireCover(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("鞍座", configVo.getSaddle(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("轴距", configVo.getWheelbase(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("保险杠", configVo.getBumper(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("配置包", configVo.getConfiguringBao(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("独立热源", configVo.getIndependentSources(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("燃料箱", configVo.getFuelTank(), 1)); |
|
|
|
list3.add(getConfigValueSpanSize("多媒体", configVo.getMultimedia(), 1)); |
|
|
|
configDetailVo.setConfigInfo(list3); |
|
|
|
List<ConfigInfoSpanSize> list2 = new ArrayList<>(); |
|
|
|
list2.add(getConfigValueSpanSize("颜色", configVo.getCarColor(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("缓冲器", configVo.getSlowMachine(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("后视镜", configVo.getRearViewMirror(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("轮胎", configVo.getTireSize(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("驾驶室", configVo.getSpecification(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("后桥速比", configVo.getRearAxleRatio(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("空调", configVo.getAirConditioner(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("轮毂材质", configVo.getHubMaterial(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("导流罩", configVo.getBaffleModel(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("悬架", configVo.getSuspension(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("座椅", configVo.getSeat(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("护轮罩", configVo.getTireCover(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("鞍座", configVo.getSaddle(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("轴距", configVo.getWheelbase(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("保险杠", configVo.getBumper(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("配置包", configVo.getConfiguringBao(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("独立热源", configVo.getIndependentSources(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("燃料箱", configVo.getFuelTank(), 1)); |
|
|
|
list2.add(getConfigValueSpanSize("多媒体", configVo.getMultimedia(), 1)); |
|
|
|
configDetailVo.setConfigInfo(list2); |
|
|
|
//更多配置
|
|
|
|
String otherConfig = configVo.getOtherConfig(); |
|
|
|
configDetailVo.setMoreConfig(otherConfig); |
|
|
@ -758,7 +758,7 @@ public class BaseVehicleService extends MybatisBaseService<BaseVehicleMapper, Ba |
|
|
|
for (AppMoreConfigVo moreConfigVo : moreConfigVos) { |
|
|
|
moreConfigVo.setCompanyName(data.getName()); |
|
|
|
} |
|
|
|
record.setMoreConfigList(moreConfigVos); |
|
|
|
record.setMoreList(moreConfigVos); |
|
|
|
} |
|
|
|
return iPage; |
|
|
|
} |
|
|
|