|
|
@@ -742,7 +742,11 @@ public class YangGuangAccuracyCalculateRequest extends YangGuangBaseRequest{
|
|
|
}
|
|
|
this.LicenseCategory = carInfoVo.getCarTypeCode();
|
|
|
this.CarCheckStatus = "2";
|
|
|
- this.Inputnewenergyflag = carInfoVo.isNewEnergyMark() ? "1" : "0";
|
|
|
+ if (carInfoVo.getLicenseNo().length() == 8) {
|
|
|
+ this.Inputnewenergyflag = "1";
|
|
|
+ } else {
|
|
|
+ this.Inputnewenergyflag = "0";
|
|
|
+ }
|
|
|
this.FuelType = carInfoVo.getEnergyTypeCode();
|
|
|
this.SeatCount = carInfoVo.getSeatCount();
|
|
|
}
|