|
@ -1336,26 +1336,23 @@ public class BusSalesOrderService extends MybatisBaseService<BusSalesOrderMapper |
|
|
List<AppReadyCar> appReadyCar = new ArrayList<>(); |
|
|
List<AppReadyCar> appReadyCar = new ArrayList<>(); |
|
|
List<AppNowCarList> appNowCarLists = new ArrayList<>(); |
|
|
List<AppNowCarList> appNowCarLists = new ArrayList<>(); |
|
|
List<AppReadyCarList> appReadyCarLists = new ArrayList<>(); |
|
|
List<AppReadyCarList> appReadyCarLists = new ArrayList<>(); |
|
|
|
|
|
|
|
|
AppNowCar appNowCar = null; |
|
|
AppNowCar appNowCar = null; |
|
|
|
|
|
//根据车型及配置查询车型信息
|
|
|
ResultBean<AppCarConfigSummaryVo> appCarConfigSummaryVoResultBean = baseVehmodelConfigFeign.selectCarConfigSummary(modelSid, configSid, userSid); |
|
|
ResultBean<AppCarConfigSummaryVo> appCarConfigSummaryVoResultBean = baseVehmodelConfigFeign.selectCarConfigSummary(modelSid, configSid, userSid); |
|
|
AppCarConfigSummaryVo data = appCarConfigSummaryVoResultBean.getData(); |
|
|
AppCarConfigSummaryVo data = appCarConfigSummaryVoResultBean.getData(); |
|
|
//现车
|
|
|
|
|
|
List<AppVinsDetailsVo> appNowCarVos = baseVehicleFeign.getVins(modelSid, configSid).getData(); |
|
|
|
|
|
//排产
|
|
|
|
|
|
List<AppOrderReadyCar> appOrderReadyCars = busVehicleOrderFeign.getAppReadyCar(modelSid, configSid).getData(); |
|
|
|
|
|
|
|
|
|
|
|
orderInfo.setNotice("提示"); |
|
|
|
|
|
orderInfo.setModelSid(modelSid); |
|
|
orderInfo.setModelSid(modelSid); |
|
|
orderInfo.setModelName(data.getModel()); |
|
|
orderInfo.setModelName(data.getModel()); |
|
|
orderInfo.setConfigSid(configSid); |
|
|
orderInfo.setConfigSid(configSid); |
|
|
orderInfo.setCommonlyConfig(data.getConfig()); |
|
|
orderInfo.setCommonlyConfig(data.getConfig()); |
|
|
orderInfo.setMoreConfig(data.getMoreConfig()); |
|
|
orderInfo.setMoreConfig(data.getMoreConfig()); |
|
|
orderInfo.setModelName(special); |
|
|
orderInfo.setSpecialInstructions(special); |
|
|
orderInfo.setNowCarList(appNowCarLists); |
|
|
orderInfo.setNowCarList(appNowCarLists); |
|
|
orderInfo.setReadyCarList(appReadyCarLists); |
|
|
orderInfo.setReadyCarList(appReadyCarLists); |
|
|
|
|
|
vo.setOrderInfo(orderInfo); |
|
|
|
|
|
//现车
|
|
|
|
|
|
List<AppVinsDetailsVo> appNowCarVos = baseVehicleFeign.getVins(modelSid, configSid).getData(); |
|
|
|
|
|
//排产
|
|
|
|
|
|
List<AppOrderReadyCar> appOrderReadyCars = busVehicleOrderFeign.getAppReadyCar(modelSid, configSid).getData(); |
|
|
//现车
|
|
|
//现车
|
|
|
if (appNowCarVos.size() > 0) { |
|
|
if (appNowCarVos.size() > 0) { |
|
|
for (AppVinsDetailsVo appNowCarVo : appNowCarVos) { |
|
|
for (AppVinsDetailsVo appNowCarVo : appNowCarVos) { |
|
@ -1372,9 +1369,7 @@ public class BusSalesOrderService extends MybatisBaseService<BusSalesOrderMapper |
|
|
//排产
|
|
|
//排产
|
|
|
BeanUtil.copyProperties(appReadyCar, appOrderReadyCars); |
|
|
BeanUtil.copyProperties(appReadyCar, appOrderReadyCars); |
|
|
vo.setCarInfo(appCarInfo); |
|
|
vo.setCarInfo(appCarInfo); |
|
|
vo.setOrderInfo(orderInfo); |
|
|
|
|
|
appCarInfo.setReadyCar(appReadyCar); |
|
|
appCarInfo.setReadyCar(appReadyCar); |
|
|
|
|
|
|
|
|
return vo; |
|
|
return vo; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|