|
@@ -554,9 +554,12 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
if (costsNews.isEmpty()) {
|
|
if (costsNews.isEmpty()) {
|
|
|
throw new SystemException("没有找到费用信息");
|
|
throw new SystemException("没有找到费用信息");
|
|
|
}
|
|
}
|
|
|
- quoteVo.setJqSuperviseCostsProportion(new BigDecimal(costsNews.get(0).getJqCarCostsProportion()));
|
|
|
|
|
- quoteVo.setSySuperviseCostsProportion(new BigDecimal(costsNews.get(0).getSyCarCostsProportion()));
|
|
|
|
|
- quoteVo.setNoSuperviseCostsProportion(new BigDecimal(costsNews.get(0).getNoCarCostsProportion()));
|
|
|
|
|
|
|
+ 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()));
|
|
|
|
|
|
|
|
|
|
|
|
|
InsAreaCompany insAreaCompany = new InsAreaCompany();
|
|
InsAreaCompany insAreaCompany = new InsAreaCompany();
|
|
@@ -684,18 +687,18 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
this.insAreaCompanyExternalPolicyService.save(externalPolicy);
|
|
this.insAreaCompanyExternalPolicyService.save(externalPolicy);
|
|
|
|
|
|
|
|
|
|
|
|
|
- costsNews.get(0).setJqCarCostsProportion(quoteVo.getJqSuperviseCostsProportion().toString());
|
|
|
|
|
- costsNews.get(0).setJqCarOtherCostsProportion(quoteVo.getJqOtherCostsProportion().toString());
|
|
|
|
|
- costsNews.get(0).setJqCostsProportion(quoteVo.getJqSuperviseCostsProportion().add(quoteVo.getJqOtherCostsProportion()).toString());
|
|
|
|
|
- costsNews.get(0).setSyCarCostsProportion(quoteVo.getSySuperviseCostsProportion().toString());
|
|
|
|
|
- costsNews.get(0).setSyCarOtherCostsProportion(quoteVo.getSyOtherCostsProportion().toString());
|
|
|
|
|
- costsNews.get(0).setSyCostsProportion(quoteVo.getSySuperviseCostsProportion().add(quoteVo.getSyOtherCostsProportion()).toString());
|
|
|
|
|
- costsNews.get(0).setNoCarCostsProportion(quoteVo.getNoSuperviseCostsProportion().toString());
|
|
|
|
|
- costsNews.get(0).setNoCarOtherCostsProportion(quoteVo.getNoOtherCostsProportion().toString());
|
|
|
|
|
- costsNews.get(0).setNoCostsProportion(quoteVo.getNoSuperviseCostsProportion().add(quoteVo.getNoOtherCostsProportion()).toString());
|
|
|
|
|
|
|
+ ptlAgreementProductCostsNew.setJqCarCostsProportion(quoteVo.getJqSuperviseCostsProportion().toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setJqCarOtherCostsProportion(quoteVo.getJqOtherCostsProportion().toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setJqCostsProportion(quoteVo.getJqSuperviseCostsProportion().add(quoteVo.getJqOtherCostsProportion()).toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setSyCarCostsProportion(quoteVo.getSySuperviseCostsProportion().toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setSyCarOtherCostsProportion(quoteVo.getSyOtherCostsProportion().toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setSyCostsProportion(quoteVo.getSySuperviseCostsProportion().add(quoteVo.getSyOtherCostsProportion()).toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setNoCarCostsProportion(quoteVo.getNoSuperviseCostsProportion().toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setNoCarOtherCostsProportion(quoteVo.getNoOtherCostsProportion().toString());
|
|
|
|
|
+ ptlAgreementProductCostsNew.setNoCostsProportion(quoteVo.getNoSuperviseCostsProportion().add(quoteVo.getNoOtherCostsProportion()).toString());
|
|
|
|
|
|
|
|
//计算费用
|
|
//计算费用
|
|
|
- feeRuleSchemeNewService.calcCostsExternal(costsNews.get(0), insAreaCompany);
|
|
|
|
|
|
|
+ feeRuleSchemeNewService.calcCostsExternal(ptlAgreementProductCostsNew, insAreaCompany);
|
|
|
// add by hxl 2024-07-10 保存时查询审核表
|
|
// add by hxl 2024-07-10 保存时查询审核表
|
|
|
if (quoteVo.getStageFlag() == 1) {
|
|
if (quoteVo.getStageFlag() == 1) {
|
|
|
//审核表数据插入
|
|
//审核表数据插入
|