|
|
@@ -271,7 +271,7 @@ public class YangGuangAccuracyCalculateRequest extends YangGuangBaseRequest{
|
|
|
this.RequestDate = LocalDateTime.now().format(formatter);
|
|
|
this.insuredList = YangGuangAccuracyCalculateRequest.InsuredListDTO.toInsuredListDTOList(quoteInfoVo.getPolicyHolderInfo(), quoteInfoVo.getInsuredPersonInfo());
|
|
|
this.carowner = new CarOwnerInfoDTO(quoteInfoVo.getOwnerInfo(),quoteInfoVo.getCarInfo());
|
|
|
- this.itemcar = new ItemCarInfoDTO(quoteInfoVo.getCarInfo());
|
|
|
+ this.itemcar = new ItemCarInfoDTO(quoteInfoVo.getCarInfo(),carmodellist);
|
|
|
this.kindList = ItemKindListDTO.toItemKindListDTOList(actualValue, quoteInfoVo.getKindList(),
|
|
|
Integer.parseInt(quoteInfoVo.getCarInfo().getSeatCount()) - 1, quoteInfoVo.getCarInfo().isNewEnergy());
|
|
|
if (ArrayUtil.isNotEmpty(accidentVo) && accidentVo.size() > 0) {
|
|
|
@@ -701,7 +701,7 @@ public class YangGuangAccuracyCalculateRequest extends YangGuangBaseRequest{
|
|
|
@JSONField(name = "InvoicePrice")
|
|
|
private String InvoicePrice;
|
|
|
|
|
|
- public ItemCarInfoDTO(CarInfoVo carInfoVo) {
|
|
|
+ public ItemCarInfoDTO(CarInfoVo carInfoVo,YangGuangQueryVehicleModelResponse.carmodellist carmodellist) {
|
|
|
if (carInfoVo.getLicenseNo() != null) {
|
|
|
this.LicenseColor = "01";
|
|
|
}
|
|
|
@@ -722,6 +722,7 @@ public class YangGuangAccuracyCalculateRequest extends YangGuangBaseRequest{
|
|
|
this.BrandName = carInfoVo.getBrandName();
|
|
|
this.LoanVehicleFlag = carInfoVo.isLoanStatus() ? "1" : "0";
|
|
|
this.ChgOwnerFlag = carInfoVo.isTransferFlag() ? "1" : "0";
|
|
|
+ this.ExhaustScale = carmodellist.getExhaustscale();
|
|
|
if (this.ChgOwnerFlag.equals("0")) {
|
|
|
this.ChgOwnerDate = "";
|
|
|
} else {
|