|
@@ -1457,7 +1457,6 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
.add(jqReCalcuLateProportion.getDept_level_3_proportion())
|
|
.add(jqReCalcuLateProportion.getDept_level_3_proportion())
|
|
|
.add(jqReCalcuLateProportion.getDept_level_4_proportion())
|
|
.add(jqReCalcuLateProportion.getDept_level_4_proportion())
|
|
|
.add(jqReCalcuLateProportion.getDept_level_5_proportion());
|
|
.add(jqReCalcuLateProportion.getDept_level_5_proportion());
|
|
|
-
|
|
|
|
|
FeeOrderNewVo.DeptManagerFee jqDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(
|
|
FeeOrderNewVo.DeptManagerFee jqDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(
|
|
|
insFeeOrderNew.getJqPremium(),
|
|
insFeeOrderNew.getJqPremium(),
|
|
|
jqReCalcuLateProportion.getDept_level_1_proportion(),
|
|
jqReCalcuLateProportion.getDept_level_1_proportion(),
|
|
@@ -1465,17 +1464,12 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
jqReCalcuLateProportion.getDept_level_3_proportion(),
|
|
jqReCalcuLateProportion.getDept_level_3_proportion(),
|
|
|
jqReCalcuLateProportion.getDept_level_4_proportion(),
|
|
jqReCalcuLateProportion.getDept_level_4_proportion(),
|
|
|
jqReCalcuLateProportion.getDept_level_5_proportion());
|
|
jqReCalcuLateProportion.getDept_level_5_proportion());
|
|
|
-
|
|
|
|
|
- jqDeptManagerFee.setInsuranceType("交强险");
|
|
|
|
|
- deptManagerFeeList.add(jqDeptManagerFee);
|
|
|
|
|
-
|
|
|
|
|
BigDecimal syDeptRadio =
|
|
BigDecimal syDeptRadio =
|
|
|
syReCalcuLateProportion.getDept_level_1_proportion()
|
|
syReCalcuLateProportion.getDept_level_1_proportion()
|
|
|
.add(syReCalcuLateProportion.getDept_level_2_proportion())
|
|
.add(syReCalcuLateProportion.getDept_level_2_proportion())
|
|
|
.add(syReCalcuLateProportion.getDept_level_3_proportion())
|
|
.add(syReCalcuLateProportion.getDept_level_3_proportion())
|
|
|
.add(syReCalcuLateProportion.getDept_level_4_proportion())
|
|
.add(syReCalcuLateProportion.getDept_level_4_proportion())
|
|
|
.add(syReCalcuLateProportion.getDept_level_5_proportion());
|
|
.add(syReCalcuLateProportion.getDept_level_5_proportion());
|
|
|
-
|
|
|
|
|
FeeOrderNewVo.DeptManagerFee syDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(
|
|
FeeOrderNewVo.DeptManagerFee syDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(
|
|
|
insFeeOrderNew.getSyPremium(),
|
|
insFeeOrderNew.getSyPremium(),
|
|
|
syReCalcuLateProportion.getDept_level_1_proportion(),
|
|
syReCalcuLateProportion.getDept_level_1_proportion(),
|
|
@@ -1483,17 +1477,12 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
syReCalcuLateProportion.getDept_level_3_proportion(),
|
|
syReCalcuLateProportion.getDept_level_3_proportion(),
|
|
|
syReCalcuLateProportion.getDept_level_4_proportion(),
|
|
syReCalcuLateProportion.getDept_level_4_proportion(),
|
|
|
syReCalcuLateProportion.getDept_level_5_proportion());
|
|
syReCalcuLateProportion.getDept_level_5_proportion());
|
|
|
-
|
|
|
|
|
- syDeptManagerFee.setInsuranceType("商业险");
|
|
|
|
|
- deptManagerFeeList.add(syDeptManagerFee);
|
|
|
|
|
-
|
|
|
|
|
BigDecimal noDeptRadio =
|
|
BigDecimal noDeptRadio =
|
|
|
noReCalcuLateProportion.getDept_level_1_proportion()
|
|
noReCalcuLateProportion.getDept_level_1_proportion()
|
|
|
.add(noReCalcuLateProportion.getDept_level_2_proportion())
|
|
.add(noReCalcuLateProportion.getDept_level_2_proportion())
|
|
|
.add(noReCalcuLateProportion.getDept_level_3_proportion())
|
|
.add(noReCalcuLateProportion.getDept_level_3_proportion())
|
|
|
.add(noReCalcuLateProportion.getDept_level_4_proportion())
|
|
.add(noReCalcuLateProportion.getDept_level_4_proportion())
|
|
|
.add(noReCalcuLateProportion.getDept_level_5_proportion());
|
|
.add(noReCalcuLateProportion.getDept_level_5_proportion());
|
|
|
-
|
|
|
|
|
FeeOrderNewVo.DeptManagerFee noDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(
|
|
FeeOrderNewVo.DeptManagerFee noDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(
|
|
|
insFeeOrderNew.getNoPremium(),
|
|
insFeeOrderNew.getNoPremium(),
|
|
|
noReCalcuLateProportion.getDept_level_1_proportion(),
|
|
noReCalcuLateProportion.getDept_level_1_proportion(),
|
|
@@ -1501,13 +1490,7 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
noReCalcuLateProportion.getDept_level_3_proportion(),
|
|
noReCalcuLateProportion.getDept_level_3_proportion(),
|
|
|
noReCalcuLateProportion.getDept_level_4_proportion(),
|
|
noReCalcuLateProportion.getDept_level_4_proportion(),
|
|
|
noReCalcuLateProportion.getDept_level_5_proportion());
|
|
noReCalcuLateProportion.getDept_level_5_proportion());
|
|
|
-
|
|
|
|
|
- noDeptManagerFee.setInsuranceType("非车险");
|
|
|
|
|
- deptManagerFeeList.add(noDeptManagerFee);
|
|
|
|
|
-
|
|
|
|
|
insFeeOrderNew.assignDept(jqDeptManagerFee, syDeptManagerFee, noDeptManagerFee);
|
|
insFeeOrderNew.assignDept(jqDeptManagerFee, syDeptManagerFee, noDeptManagerFee);
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
//endregion
|
|
//endregion
|
|
|
|
|
|
|
|
//region 出口费用
|
|
//region 出口费用
|
|
@@ -1528,7 +1511,6 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
jqExportFee.setInsuranceType("交强险");
|
|
jqExportFee.setInsuranceType("交强险");
|
|
|
exportFeeList.add(jqExportFee);
|
|
exportFeeList.add(jqExportFee);
|
|
|
|
|
|
|
|
-
|
|
|
|
|
//商业出口费用
|
|
//商业出口费用
|
|
|
FeeOrderNewVo.ExportFee syExportFee = feeRuleSchemeService.calcExportFee(
|
|
FeeOrderNewVo.ExportFee syExportFee = feeRuleSchemeService.calcExportFee(
|
|
|
insFeeOrderNew.getSyPremium(),
|
|
insFeeOrderNew.getSyPremium(),
|
|
@@ -1560,6 +1542,22 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
|
|
|
|
|
//endregion
|
|
//endregion
|
|
|
|
|
|
|
|
|
|
+ //region 外部订单费用
|
|
|
|
|
+ jqDeptManagerFee.setExternalPremiums(jqExportFee.getExternalPremiums());
|
|
|
|
|
+ jqDeptManagerFee.setExternalProportion(jqExportFee.getExternalProportion());
|
|
|
|
|
+ jqDeptManagerFee.setInsuranceType("交强险");
|
|
|
|
|
+ deptManagerFeeList.add(jqDeptManagerFee);
|
|
|
|
|
+ syDeptManagerFee.setInsuranceType("商业险");
|
|
|
|
|
+ syDeptManagerFee.setExternalPremiums(syExportFee.getExternalPremiums());
|
|
|
|
|
+ syDeptManagerFee.setExternalProportion(syExportFee.getExternalProportion());
|
|
|
|
|
+ deptManagerFeeList.add(syDeptManagerFee);
|
|
|
|
|
+ noDeptManagerFee.setInsuranceType("非车险");
|
|
|
|
|
+ noDeptManagerFee.setExternalPremiums(noExportFee.getExternalPremiums());
|
|
|
|
|
+ noDeptManagerFee.setExternalProportion(noExportFee.getExternalProportion());
|
|
|
|
|
+ deptManagerFeeList.add(noDeptManagerFee);
|
|
|
|
|
+ //endregion
|
|
|
|
|
+
|
|
|
|
|
+ // 外部订单
|
|
|
insFeeOrderNew.setJqExternalProportion(jqExportFee.getExternalProportion());
|
|
insFeeOrderNew.setJqExternalProportion(jqExportFee.getExternalProportion());
|
|
|
insFeeOrderNew.setJqExportOtherCostsPremiums(jqExportFee.getExternalPremiums());
|
|
insFeeOrderNew.setJqExportOtherCostsPremiums(jqExportFee.getExternalPremiums());
|
|
|
|
|
|
|
@@ -1574,7 +1572,6 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
resultFeeOrderNewVo.setExportFee(exportFeeList);
|
|
resultFeeOrderNewVo.setExportFee(exportFeeList);
|
|
|
// resultFeeOrderNewVo.setRetailFee(distributionLevelVoList);
|
|
// resultFeeOrderNewVo.setRetailFee(distributionLevelVoList);
|
|
|
|
|
|
|
|
-
|
|
|
|
|
//ins_fee_order_new 保存新的费用
|
|
//ins_fee_order_new 保存新的费用
|
|
|
//入口
|
|
//入口
|
|
|
insFeeOrderNew.setJqCostsProportion(entranceFeeList.get(0).getTotalProportion());
|
|
insFeeOrderNew.setJqCostsProportion(entranceFeeList.get(0).getTotalProportion());
|