|
|
@@ -584,10 +584,17 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
PtlAgreementProductCostsNew ptlAgreementProductCostsNew = costsNews.get(0);
|
|
|
ptlAgreementProductCostsNew.blank();
|
|
|
|
|
|
- quoteVo.setJqSuperviseCostsProportion(new BigDecimal(ptlAgreementProductCostsNew.getJqCarCostsProportion()));
|
|
|
- quoteVo.setSySuperviseCostsProportion(new BigDecimal(ptlAgreementProductCostsNew.getSyCarCostsProportion()));
|
|
|
- quoteVo.setNoSuperviseCostsProportion(new BigDecimal(ptlAgreementProductCostsNew.getNoCarCostsProportion()));
|
|
|
+ if(StringUtils.isNotBlank(quoteVo.getJqpolicyno())){
|
|
|
+ quoteVo.setJqSuperviseCostsProportion(new BigDecimal(ptlAgreementProductCostsNew.getJqCarCostsProportion()));
|
|
|
+ }
|
|
|
+
|
|
|
+ if(StringUtils.isNotBlank(quoteVo.getSypolicyno())){
|
|
|
+ quoteVo.setSySuperviseCostsProportion(new BigDecimal(ptlAgreementProductCostsNew.getSyCarCostsProportion()));
|
|
|
+ }
|
|
|
|
|
|
+ if(StringUtils.isNotBlank(quoteVo.getJypolicyno())){
|
|
|
+ quoteVo.setNoSuperviseCostsProportion(new BigDecimal(ptlAgreementProductCostsNew.getNoCarCostsProportion()));
|
|
|
+ }
|
|
|
|
|
|
InsAreaCompany insAreaCompany = new InsAreaCompany();
|
|
|
String subOrderNo = IdGenerate.nextId();
|