浏览代码

紫金新能源车

wks 2 年之前
父节点
当前提交
747436e0a2

+ 2 - 1
src/main/java/com/ydtech/modules/order/entity/api/zijin/request/CalculatePremiumRequest.java

@@ -916,7 +916,8 @@ public class CalculatePremiumRequest implements Serializable {
             CarKindCode carKindCode1 = Enum.valueOf(CarKindCode.class, CarKindCode.TITLE + carInfo.getCimodelclass());
             this.carKindCode = carKindCode1.getCode();
 
-            this.exhaustCapacity = vehicleModelInfosDTO.getExhaustCapacity();
+            this.exhaustCapacity = StringUtils.isNotEmpty(vehicleModelInfosDTO.getExhaustCapacity()) ?
+                    vehicleModelInfosDTO.getExhaustCapacity() : "0";
             this.oriCarKindName = carInfo.getCartype();
 
             this.platVehicleCode = vehicleModelInfosDTO.getPlatVehicleCode();