|
|
@@ -795,6 +795,8 @@ public class BoHaiOrderApiServiceImpl implements BoHaiOrderApiService {
|
|
|
quoteRespVo.setExpectedDiscount(floatingRateOption.getAdjustFactor());
|
|
|
quoteRespVo.setInitialProposalDiscount(floatingRateOption.getNonClaimDiscountRate());
|
|
|
|
|
|
+
|
|
|
+
|
|
|
// 报价险种放入保费
|
|
|
List<QuoteRiskRespVo> riskList1 = QuoteRiskRespVo.toQuoteRiskRespVoList(riskList, jqPremium, syPremium);
|
|
|
|
|
|
@@ -808,12 +810,12 @@ public class BoHaiOrderApiServiceImpl implements BoHaiOrderApiService {
|
|
|
quoteRespVo.setTotalAdjustRate(0);
|
|
|
quoteRespVo.setOrderno(yaQuoteInfoVo.getOrderNo()); //订单号
|
|
|
quoteRespVo.setCoreModels(vehicleModelsDTO.toCoreModelsVo());
|
|
|
- return responseOrder(response, quoteRespVo, ptlAgreementAttribution, orderNo, accidentalDrivingVo);
|
|
|
+ return responseOrder(response, quoteRespVo, ptlAgreementAttribution, orderNo, accidentalDrivingVo,yaQuoteInfoVo);
|
|
|
}
|
|
|
|
|
|
public HttpResult<QuoteRespVo> responseOrder(QuotationResponse response, QuoteRespVo quoteRespVo,
|
|
|
PtlAgreementAttribution ptlAgreementAttribution, String orderId,
|
|
|
- List<BoHaiQuoteAccidentVo> accidentalDrivingVo) {
|
|
|
+ List<BoHaiQuoteAccidentVo> accidentalDrivingVo,BaseQuoteInfoVo baseQuoteInfoVo) {
|
|
|
// 保存订单信息
|
|
|
InsAreaCompany insAreaCompany = new InsAreaCompany(quoteRespVo, ptlAgreementAttribution);
|
|
|
|
|
|
@@ -838,6 +840,12 @@ public class BoHaiOrderApiServiceImpl implements BoHaiOrderApiService {
|
|
|
// 驾意险
|
|
|
insAreaCompany.setAccidentInfo(JSON.parseArray(JSON.toJSONString(accidentalDrivingVo)));
|
|
|
|
|
|
+ //车辆人员信息
|
|
|
+ insAreaCompany.setCarInfo(JSON.toJSONString(baseQuoteInfoVo.getCarInfo()));
|
|
|
+ insAreaCompany.setOwnerInfo(JSON.toJSONString(baseQuoteInfoVo.getOwnerInfo()));
|
|
|
+ insAreaCompany.setApplyInfo(JSON.toJSONString(baseQuoteInfoVo.getPolicyHolderInfo()));
|
|
|
+ insAreaCompany.setInsureInfo(JSON.toJSONString(baseQuoteInfoVo.getInsuredPersonInfo()));
|
|
|
+
|
|
|
// 车船税
|
|
|
TaxArrears taxArrears =
|
|
|
Optional.ofNullable(response.getData().getTrafficPolicy())
|