|
|
@@ -107,15 +107,6 @@ public class CarPriceReq {
|
|
|
//新车标识 newCarFlag 字符串 新车传空,非新车-1
|
|
|
prpTitemCar.setNewCarFlag(StringUtils.isEmpty(carInfo.getLicenseNo()) ? "" : "-1");
|
|
|
|
|
|
- TrafficManagementVehicleType trafficManagementVehicleType = Enum.valueOf(TrafficManagementVehicleType.class, carInfo.getCartype());
|
|
|
-
|
|
|
- // 货车修改
|
|
|
- if (trafficManagementVehicleType.getDesc().contains(CarKindCode.H3.getDesc())) {
|
|
|
- prpTitemCar.setCarKindCode(CarKindCode.H3.getCode());
|
|
|
- } else if (trafficManagementVehicleType.getDesc().contains(CarKindCode.T11.getDesc())) {
|
|
|
- prpTitemCar.setCarKindCode(CarKindCode.T11.getCode());
|
|
|
- }
|
|
|
-
|
|
|
prpTitemCar.setLicenseKindCode("02");
|
|
|
prpTitemCar.setPurchasePrice(vinQ.getPurchasePriceSZ());
|
|
|
prpTitemCar.setClauseType("F54");
|
|
|
@@ -158,6 +149,16 @@ public class CarPriceReq {
|
|
|
|
|
|
String cimodelclass = carInfo.getCimodelclass();
|
|
|
CategoriesOfVehicles categoriesOfVehicles = Enum.valueOf(CategoriesOfVehicles.class, CategoriesOfVehicles.TITLE + cimodelclass);
|
|
|
+ if(categoriesOfVehicles.getCode().equals(CategoriesOfVehicles.COV_A1.getCode())){
|
|
|
+ TrafficManagementVehicleType trafficManagementVehicleType = Enum.valueOf(TrafficManagementVehicleType.class, carInfo.getCartype());
|
|
|
+ // 货车修改
|
|
|
+ if (trafficManagementVehicleType.getDesc().contains("罐式")) {
|
|
|
+ prpTitemCar.setCarKindCode(CarKindCode.H3.getCode());
|
|
|
+ } else {
|
|
|
+ prpTitemCar.setCarKindCode(CarKindCode.T11.getCode());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
prpTitemCar.setMaincarKindCode(categoriesOfVehicles.getCode());
|
|
|
|
|
|
//过户日期
|