|
|
@@ -80,6 +80,15 @@ public class PremiumReq {
|
|
|
PremiumReq quoteReq = new PremiumReq();
|
|
|
VehicleAndVesselTax vehicleAndVesselTax = yaQuoteInfoVo.getVehicleAndVesselTax();
|
|
|
|
|
|
+ //处理车主约定特约
|
|
|
+ specialAgreementVo.forEach(item->{
|
|
|
+ if("T0028".equals(item.getClauseCode())){
|
|
|
+ String replace = item.getClausesContext().replaceFirst("_", yaQuoteInfoVo.getInsuredPersonInfo().getName());
|
|
|
+ replace = replace.replaceFirst("_",yaQuoteInfoVo.getOwnerInfo().getName());
|
|
|
+ item.setClausesContext(replace);
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
riskList.forEach(a -> {
|
|
|
if (a.getRiskCode().equals(InsuranceRisk.TRAFFIC_CODE)) {
|
|
|
List<GuoRenSpecialAgreementVo> trafficSpecialAgreement =
|