|
@@ -12,6 +12,7 @@ import com.ydtech.modules.fee.dto.vo.EntranceFee;
|
|
|
import com.ydtech.modules.fee.dto.vo.ExportFee;
|
|
import com.ydtech.modules.fee.dto.vo.ExportFee;
|
|
|
import com.ydtech.modules.fee.dto.vo.RetailStoreFee;
|
|
import com.ydtech.modules.fee.dto.vo.RetailStoreFee;
|
|
|
import com.ydtech.modules.fee.service.CostsCalcService;
|
|
import com.ydtech.modules.fee.service.CostsCalcService;
|
|
|
|
|
+import com.ydtech.modules.fee.service.FeeRuleSchemeService;
|
|
|
import com.ydtech.modules.order.entity.InsAreaCompany;
|
|
import com.ydtech.modules.order.entity.InsAreaCompany;
|
|
|
import com.ydtech.modules.order.entity.InsOrders;
|
|
import com.ydtech.modules.order.entity.InsOrders;
|
|
|
import com.ydtech.modules.order.entity.vo.FeeOrderNewRecordVo;
|
|
import com.ydtech.modules.order.entity.vo.FeeOrderNewRecordVo;
|
|
@@ -865,11 +866,15 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
@Autowired
|
|
@Autowired
|
|
|
InsAreaCompanyService insAreaCompanyService;
|
|
InsAreaCompanyService insAreaCompanyService;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ FeeRuleSchemeService feeRuleSchemeService;
|
|
|
|
|
+
|
|
|
@Transactional
|
|
@Transactional
|
|
|
@Override
|
|
@Override
|
|
|
public FeeOrderNewVo costsAdjust(FeeOrderNewRecordVo feeOrderNewRecordVo) {
|
|
public FeeOrderNewVo costsAdjust(FeeOrderNewRecordVo feeOrderNewRecordVo) {
|
|
|
String feeId = feeOrderNewRecordVo.getFeeId();
|
|
String feeId = feeOrderNewRecordVo.getFeeId();
|
|
|
InsFeeOrderNew insFeeOrderNew = insFeeOrderNewService.getById(feeId);
|
|
InsFeeOrderNew insFeeOrderNew = insFeeOrderNewService.getById(feeId);
|
|
|
|
|
+
|
|
|
//查询协议是否包含税
|
|
//查询协议是否包含税
|
|
|
PtlAgreement ptlAgreement = ptlAgreementService.getById(insFeeOrderNew.getAgreementId());
|
|
PtlAgreement ptlAgreement = ptlAgreementService.getById(insFeeOrderNew.getAgreementId());
|
|
|
BigDecimal taxRadio = new BigDecimal("1.00");
|
|
BigDecimal taxRadio = new BigDecimal("1.00");
|
|
@@ -877,24 +882,48 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
taxRadio = new BigDecimal("1.06");
|
|
taxRadio = new BigDecimal("1.06");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //分销费用
|
|
|
|
|
+ InsAreaCompany insAreaCompany = insAreaCompanyService.getById(insFeeOrderNew.getInsOrderNo());
|
|
|
|
|
+ InsOrders insOrders = insOrdersService.getById(insAreaCompany.getOrderno());
|
|
|
|
|
+ SysUser sysUser = sysUserService.findByUserId(insOrders.getUserid());
|
|
|
|
|
+ RetailStoreFee retailStoreFee = costsCalcService.getRetailStoreFee(sysUser.getId(),
|
|
|
|
|
+ insFeeOrderNew.getJqPremium().add(insFeeOrderNew.getSyPremium()).add(insFeeOrderNew.getNoPremium()));
|
|
|
|
|
+
|
|
|
InsFeeOrderNewRecord record = new InsFeeOrderNewRecord();
|
|
InsFeeOrderNewRecord record = new InsFeeOrderNewRecord();
|
|
|
FeeOrderNewVo feeOrderNewVoOld = feeOrderNewRecordVo.getFeeOrderNewVoOld();
|
|
FeeOrderNewVo feeOrderNewVoOld = feeOrderNewRecordVo.getFeeOrderNewVoOld();
|
|
|
FeeOrderNewVo feeOrderNewVo = feeOrderNewRecordVo.getFeeOrderNewVoNew();
|
|
FeeOrderNewVo feeOrderNewVo = feeOrderNewRecordVo.getFeeOrderNewVoNew();
|
|
|
|
|
|
|
|
|
|
+ if(feeOrderNewVo.getEntranceFee().get(0).getSuperviseCosts().add(feeOrderNewVo.getEntranceFee().get(0).getOtherCostsProportion()).compareTo(feeOrderNewVo.getEntranceFee().get(0).getTotalProportion()) != 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ throw new SystemException("交强入口费用不匹配,调整费用失败!");
|
|
|
|
|
+ }
|
|
|
|
|
+ if(feeOrderNewVo.getEntranceFee().get(1).getSuperviseCosts().add(feeOrderNewVo.getEntranceFee().get(1).getOtherCostsProportion()).compareTo(feeOrderNewVo.getEntranceFee().get(1).getTotalProportion()) != 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ throw new SystemException("商业入口费用不匹配,调整费用失败!");
|
|
|
|
|
+ }
|
|
|
|
|
+ if(feeOrderNewVo.getEntranceFee().get(2).getSuperviseCosts().add(feeOrderNewVo.getEntranceFee().get(2).getOtherCostsProportion()).compareTo(feeOrderNewVo.getEntranceFee().get(2).getTotalProportion()) != 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ throw new SystemException("非车入口费用不匹配,调整费用失败!");
|
|
|
|
|
+ }
|
|
|
|
|
+ //调整后的费用计算
|
|
|
|
|
+
|
|
|
//交强入口费用
|
|
//交强入口费用
|
|
|
- EntranceFee jqEntranceFee = costsCalcService.getEntranceFee("交强险", feeOrderNewVo.getEntranceFee().get(0).getPremium().divide(taxRadio,10, RoundingMode.UP),
|
|
|
|
|
- feeOrderNewVo.getEntranceFee().get(0).getSuperviseCosts(), feeOrderNewVo.getEntranceFee().get(0).getOtherCostsProportion());
|
|
|
|
|
|
|
+ FeeOrderNewVo.EntranceFee jqEntranceFee = feeRuleSchemeService.calcEntranceFee(insFeeOrderNew.getJqPremium(),
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(0).getSuperviseCosts(),
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(0).getOtherCostsProportion(), taxRadio);
|
|
|
|
|
|
|
|
//商业入口费用
|
|
//商业入口费用
|
|
|
- EntranceFee syEntranceFee = costsCalcService.getEntranceFee("商业险", feeOrderNewVo.getEntranceFee().get(1).getPremium().divide(taxRadio,10, RoundingMode.UP),
|
|
|
|
|
- feeOrderNewVo.getEntranceFee().get(1).getSuperviseCosts(), feeOrderNewVo.getEntranceFee().get(1).getOtherCostsProportion());
|
|
|
|
|
|
|
+ FeeOrderNewVo.EntranceFee syEntranceFee = feeRuleSchemeService.calcEntranceFee(insFeeOrderNew.getSyPremium(),
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(1).getSuperviseCosts(),
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(1).getOtherCostsProportion(), taxRadio);
|
|
|
|
|
|
|
|
//非车入口费用
|
|
//非车入口费用
|
|
|
- EntranceFee noEntranceFee = costsCalcService.getEntranceFee("非车险", feeOrderNewVo.getEntranceFee().get(2).getPremium().divide(taxRadio,10, RoundingMode.UP),
|
|
|
|
|
- feeOrderNewVo.getEntranceFee().get(2).getSuperviseCosts(), feeOrderNewVo.getEntranceFee().get(2).getOtherCostsProportion());
|
|
|
|
|
|
|
+ FeeOrderNewVo.EntranceFee noEntranceFee = feeRuleSchemeService.calcEntranceFee(insFeeOrderNew.getNoPremium(),
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(2).getSuperviseCosts(),
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(2).getOtherCostsProportion(), taxRadio);
|
|
|
|
|
|
|
|
//交强部门管理费用
|
|
//交强部门管理费用
|
|
|
- DeptManagerFee jqDeptManagerFee = costsCalcService.getDeptManagerFee("交强险", insFeeOrderNew.getJqPremium().divide(taxRadio,10, RoundingMode.UP),
|
|
|
|
|
|
|
+ FeeOrderNewVo.DeptManagerFee jqDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(insFeeOrderNew.getJqPremium(),
|
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelOne(),
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelOne(),
|
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelTwo(),
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelTwo(),
|
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelThree(),
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelThree(),
|
|
@@ -902,32 +931,48 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelFive());
|
|
feeOrderNewVo.getDeptManagerFee().get(0).getDeptProportionLevelFive());
|
|
|
|
|
|
|
|
//商业部门管理费用
|
|
//商业部门管理费用
|
|
|
- DeptManagerFee syDeptManagerFee = costsCalcService.getDeptManagerFee("商业险", insFeeOrderNew.getSyPremium().divide(taxRadio,10, RoundingMode.UP),
|
|
|
|
|
- insFeeOrderNew.getSyDeptProportionLevel1(), insFeeOrderNew.getSyDeptProportionLevel2(), insFeeOrderNew.getSyDeptProportionLevel3(),
|
|
|
|
|
- insFeeOrderNew.getSyDeptProportionLevel4(), insFeeOrderNew.getSyDeptProportionLevel5());
|
|
|
|
|
|
|
+ FeeOrderNewVo.DeptManagerFee syDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(insFeeOrderNew.getSyPremium(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).getDeptProportionLevelOne(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).getDeptProportionLevelTwo(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).getDeptProportionLevelThree(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).getDeptProportionLevelFoure(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).getDeptProportionLevelFive());
|
|
|
|
|
|
|
|
//非车部门管理费用
|
|
//非车部门管理费用
|
|
|
- DeptManagerFee noDeptManagerFee = costsCalcService.getDeptManagerFee("非车险", insFeeOrderNew.getNoPremium().divide(taxRadio,10, RoundingMode.UP),
|
|
|
|
|
- insFeeOrderNew.getNoDeptProportionLevel1(), insFeeOrderNew.getNoDeptProportionLevel2(), insFeeOrderNew.getNoDeptProportionLevel3(),
|
|
|
|
|
- insFeeOrderNew.getNoDeptProportionLevel4(), insFeeOrderNew.getNoDeptProportionLevel5());
|
|
|
|
|
|
|
+ FeeOrderNewVo.DeptManagerFee noDeptManagerFee = feeRuleSchemeService.calcDeptManagerFee(insFeeOrderNew.getNoPremium(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).getDeptProportionLevelOne(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).getDeptProportionLevelTwo(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).getDeptProportionLevelThree(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).getDeptProportionLevelFoure(),
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).getDeptProportionLevelFive());
|
|
|
|
|
|
|
|
|
|
|
|
|
- //分销费用
|
|
|
|
|
- InsAreaCompany insAreaCompany = insAreaCompanyService.getById(insFeeOrderNew.getInsOrderNo());
|
|
|
|
|
- InsOrders insOrders = insOrdersService.getById(insAreaCompany.getOrderno());
|
|
|
|
|
- SysUser sysUser = sysUserService.findByUserId(insOrders.getUserid());
|
|
|
|
|
- RetailStoreFee retailStoreFee = costsCalcService.getRetailStoreFee(sysUser.getId(),
|
|
|
|
|
- insFeeOrderNew.getJqPremium().add(insFeeOrderNew.getSyPremium()).add(insFeeOrderNew.getNoPremium()));
|
|
|
|
|
|
|
|
|
|
- //出口
|
|
|
|
|
- ExportFee jqExportFee = costsCalcService.getExportFee("交强险",jqEntranceFee,jqDeptManagerFee,retailStoreFee,
|
|
|
|
|
- feeOrderNewRecordVo.getFeeOrderNewVoNew().getExportFee().get(0).getSuperviseCosts());
|
|
|
|
|
|
|
+ BigDecimal jqDeptManagerTotalProportion = jqDeptManagerFee.getDeptProportionLevelOne().add(jqDeptManagerFee.getDeptProportionLevelTwo())
|
|
|
|
|
+ .add(jqDeptManagerFee.getDeptProportionLevelThree()).add(jqDeptManagerFee.getDeptProportionLevelFoure())
|
|
|
|
|
+ .add(jqDeptManagerFee.getDeptProportionLevelFive());
|
|
|
|
|
+
|
|
|
|
|
+ //交强出口费用
|
|
|
|
|
+ FeeOrderNewVo.ExportFee jqExportFee = feeRuleSchemeService.calcExportFee(insFeeOrderNew.getJqPremium(),insFeeOrderNew.getJqCostsExportProportion(),
|
|
|
|
|
+ jqEntranceFee.getTotalProportion(),jqDeptManagerTotalProportion,retailStoreFee.getRetailStoreRadio(),taxRadio);
|
|
|
|
|
+
|
|
|
|
|
+ BigDecimal syDeptManagerTotalProportion = syDeptManagerFee.getDeptProportionLevelOne().add(syDeptManagerFee.getDeptProportionLevelTwo())
|
|
|
|
|
+ .add(syDeptManagerFee.getDeptProportionLevelThree()).add(syDeptManagerFee.getDeptProportionLevelFoure())
|
|
|
|
|
+ .add(syDeptManagerFee.getDeptProportionLevelFive());
|
|
|
|
|
+
|
|
|
|
|
+ //商业出口费用
|
|
|
|
|
+ FeeOrderNewVo.ExportFee syExportFee = feeRuleSchemeService.calcExportFee(insFeeOrderNew.getSyPremium(),insFeeOrderNew.getSyCostsExportProportion(),
|
|
|
|
|
+ syEntranceFee.getTotalProportion(),syDeptManagerTotalProportion,retailStoreFee.getRetailStoreRadio(),taxRadio);
|
|
|
|
|
|
|
|
- ExportFee syExportFee = costsCalcService.getExportFee("商业险",syEntranceFee,syDeptManagerFee,retailStoreFee,
|
|
|
|
|
- feeOrderNewRecordVo.getFeeOrderNewVoNew().getExportFee().get(1).getSuperviseCosts());
|
|
|
|
|
|
|
|
|
|
- ExportFee noExportFee = costsCalcService.getExportFee("非车险",noEntranceFee,noDeptManagerFee,retailStoreFee,
|
|
|
|
|
- feeOrderNewRecordVo.getFeeOrderNewVoNew().getExportFee().get(0).getSuperviseCosts());
|
|
|
|
|
|
|
+ BigDecimal noDeptManagerTotalProportion = noDeptManagerFee.getDeptProportionLevelOne().add(noDeptManagerFee.getDeptProportionLevelTwo())
|
|
|
|
|
+ .add(noDeptManagerFee.getDeptProportionLevelThree()).add(noDeptManagerFee.getDeptProportionLevelFoure())
|
|
|
|
|
+ .add(noDeptManagerFee.getDeptProportionLevelFive());
|
|
|
|
|
+
|
|
|
|
|
+ //商业出口费用
|
|
|
|
|
+ FeeOrderNewVo.ExportFee noExportFee = feeRuleSchemeService.calcExportFee(insFeeOrderNew.getNoPremium(),insFeeOrderNew.getNoCostsExportProportion(),
|
|
|
|
|
+ noEntranceFee.getTotalProportion(),noDeptManagerTotalProportion,retailStoreFee.getRetailStoreRadio(),taxRadio);
|
|
|
|
|
+
|
|
|
|
|
|
|
|
//转换输出的格式
|
|
//转换输出的格式
|
|
|
FeeOrderNewVo resultFeeOrderNewVo = new FeeOrderNewVo();
|
|
FeeOrderNewVo resultFeeOrderNewVo = new FeeOrderNewVo();
|
|
@@ -1068,6 +1113,7 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
insFeeOrderNewRecordService.save(record);
|
|
insFeeOrderNewRecordService.save(record);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ //ins_fee_order_new 保存新的费用
|
|
|
insFeeOrderNew.setJqCostsProportion(jqEntranceFee.getTotalProportion());
|
|
insFeeOrderNew.setJqCostsProportion(jqEntranceFee.getTotalProportion());
|
|
|
insFeeOrderNew.setJqCostsPremiums(jqEntranceFee.getTotalAmount());
|
|
insFeeOrderNew.setJqCostsPremiums(jqEntranceFee.getTotalAmount());
|
|
|
feeOrderNewVo.getEntranceFee().get(0).setPremium(insFeeOrderNew.getJqPremium());
|
|
feeOrderNewVo.getEntranceFee().get(0).setPremium(insFeeOrderNew.getJqPremium());
|
|
@@ -1082,14 +1128,14 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
feeOrderNewVo.getEntranceFee().get(1).setTotalAmount(noEntranceFee.getTotalAmount());
|
|
feeOrderNewVo.getEntranceFee().get(1).setTotalAmount(noEntranceFee.getTotalAmount());
|
|
|
|
|
|
|
|
insFeeOrderNew.setJqSuperviseCostsProportion(jqEntranceFee.getSuperviseCosts());
|
|
insFeeOrderNew.setJqSuperviseCostsProportion(jqEntranceFee.getSuperviseCosts());
|
|
|
- insFeeOrderNew.setJqSuperviseCostsPremiums(jqEntranceFee.getSySuperviseCostsPremiums());
|
|
|
|
|
- feeOrderNewVo.getEntranceFee().get(0).setSySuperviseCostsPremiums(jqEntranceFee.getSySuperviseCostsPremiums());
|
|
|
|
|
|
|
+ insFeeOrderNew.setJqSuperviseCostsPremiums(jqEntranceFee.getSuperviseCostsPremiums());
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(0).setSuperviseCostsPremiums(jqEntranceFee.getSuperviseCostsPremiums());
|
|
|
insFeeOrderNew.setSySuperviseCostsProportion(syEntranceFee.getSuperviseCosts());
|
|
insFeeOrderNew.setSySuperviseCostsProportion(syEntranceFee.getSuperviseCosts());
|
|
|
- insFeeOrderNew.setSySuperviseCostsPremiums(syEntranceFee.getSySuperviseCostsPremiums());
|
|
|
|
|
- feeOrderNewVo.getEntranceFee().get(1).setSySuperviseCostsPremiums(syEntranceFee.getSySuperviseCostsPremiums());
|
|
|
|
|
|
|
+ insFeeOrderNew.setSySuperviseCostsPremiums(syEntranceFee.getSuperviseCostsPremiums());
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(1).setSuperviseCostsPremiums(syEntranceFee.getSuperviseCostsPremiums());
|
|
|
insFeeOrderNew.setNoSuperviseCostsProportion(noEntranceFee.getSuperviseCosts());
|
|
insFeeOrderNew.setNoSuperviseCostsProportion(noEntranceFee.getSuperviseCosts());
|
|
|
- insFeeOrderNew.setNoSuperviseCostsPremiums(noEntranceFee.getSySuperviseCostsPremiums());
|
|
|
|
|
- feeOrderNewVo.getEntranceFee().get(2).setSySuperviseCostsPremiums(noEntranceFee.getSySuperviseCostsPremiums());
|
|
|
|
|
|
|
+ insFeeOrderNew.setNoSuperviseCostsPremiums(noEntranceFee.getSuperviseCostsPremiums());
|
|
|
|
|
+ feeOrderNewVo.getEntranceFee().get(2).setSuperviseCostsPremiums(noEntranceFee.getSuperviseCostsPremiums());
|
|
|
|
|
|
|
|
insFeeOrderNew.setJqOtherCostsProportion(jqEntranceFee.getOtherCostsProportion());
|
|
insFeeOrderNew.setJqOtherCostsProportion(jqEntranceFee.getOtherCostsProportion());
|
|
|
insFeeOrderNew.setJqOtherCostsPremiums(jqEntranceFee.getOtherCostsPremiums());
|
|
insFeeOrderNew.setJqOtherCostsPremiums(jqEntranceFee.getOtherCostsPremiums());
|
|
@@ -1101,53 +1147,53 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
insFeeOrderNew.setNoOtherCostsPremiums(noEntranceFee.getOtherCostsPremiums());
|
|
insFeeOrderNew.setNoOtherCostsPremiums(noEntranceFee.getOtherCostsPremiums());
|
|
|
feeOrderNewVo.getEntranceFee().get(2).setOtherCostsPremiums(noEntranceFee.getOtherCostsPremiums());
|
|
feeOrderNewVo.getEntranceFee().get(2).setOtherCostsPremiums(noEntranceFee.getOtherCostsPremiums());
|
|
|
|
|
|
|
|
- insFeeOrderNew.setJqDeptProportionLevel1(jqDeptManagerFee.getDeptManagerRadioLevel1());
|
|
|
|
|
- insFeeOrderNew.setJqDeptProportionLevel2(jqDeptManagerFee.getDeptManagerRadioLevel2());
|
|
|
|
|
- insFeeOrderNew.setJqDeptProportionLevel3(jqDeptManagerFee.getDeptManagerRadioLevel3());
|
|
|
|
|
- insFeeOrderNew.setJqDeptProportionLevel4(jqDeptManagerFee.getDeptManagerRadioLevel4());
|
|
|
|
|
- insFeeOrderNew.setJqDeptProportionLevel5(jqDeptManagerFee.getDeptManagerRadioLevel5());
|
|
|
|
|
- insFeeOrderNew.setJqDeptPremiumsLevel1(jqDeptManagerFee.getDeptManagerFeeLevel1());
|
|
|
|
|
- insFeeOrderNew.setJqDeptPremiumsLevel2(jqDeptManagerFee.getDeptManagerFeeLevel2());
|
|
|
|
|
- insFeeOrderNew.setJqDeptPremiumsLevel3(jqDeptManagerFee.getDeptManagerFeeLevel3());
|
|
|
|
|
- insFeeOrderNew.setJqDeptPremiumsLevel4(jqDeptManagerFee.getDeptManagerFeeLevel4());
|
|
|
|
|
- insFeeOrderNew.setJqDeptPremiumsLevel5(jqDeptManagerFee.getDeptManagerFeeLevel5());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelOne(jqDeptManagerFee.getDeptManagerFeeLevel1());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelTwo(jqDeptManagerFee.getDeptManagerFeeLevel2());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelThree(jqDeptManagerFee.getDeptManagerFeeLevel3());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelFoure(jqDeptManagerFee.getDeptManagerFeeLevel4());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelFive(jqDeptManagerFee.getDeptManagerFeeLevel5());
|
|
|
|
|
-
|
|
|
|
|
- insFeeOrderNew.setSyDeptProportionLevel1(syDeptManagerFee.getDeptManagerRadioLevel1());
|
|
|
|
|
- insFeeOrderNew.setSyDeptProportionLevel2(syDeptManagerFee.getDeptManagerRadioLevel2());
|
|
|
|
|
- insFeeOrderNew.setSyDeptProportionLevel3(syDeptManagerFee.getDeptManagerRadioLevel3());
|
|
|
|
|
- insFeeOrderNew.setSyDeptProportionLevel4(syDeptManagerFee.getDeptManagerRadioLevel4());
|
|
|
|
|
- insFeeOrderNew.setSyDeptProportionLevel5(syDeptManagerFee.getDeptManagerRadioLevel5());
|
|
|
|
|
- insFeeOrderNew.setSyDeptPremiumsLevel1(syDeptManagerFee.getDeptManagerFeeLevel1());
|
|
|
|
|
- insFeeOrderNew.setSyDeptPremiumsLevel2(syDeptManagerFee.getDeptManagerFeeLevel2());
|
|
|
|
|
- insFeeOrderNew.setSyDeptPremiumsLevel3(syDeptManagerFee.getDeptManagerFeeLevel3());
|
|
|
|
|
- insFeeOrderNew.setSyDeptPremiumsLevel4(syDeptManagerFee.getDeptManagerFeeLevel4());
|
|
|
|
|
- insFeeOrderNew.setSyDeptPremiumsLevel5(syDeptManagerFee.getDeptManagerFeeLevel5());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelOne(syDeptManagerFee.getDeptManagerFeeLevel1());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelTwo(syDeptManagerFee.getDeptManagerFeeLevel2());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelThree(syDeptManagerFee.getDeptManagerFeeLevel3());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelFoure(syDeptManagerFee.getDeptManagerFeeLevel4());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelFive(syDeptManagerFee.getDeptManagerFeeLevel5());
|
|
|
|
|
-
|
|
|
|
|
- insFeeOrderNew.setNoDeptProportionLevel1(noDeptManagerFee.getDeptManagerRadioLevel1());
|
|
|
|
|
- insFeeOrderNew.setNoDeptProportionLevel2(noDeptManagerFee.getDeptManagerRadioLevel2());
|
|
|
|
|
- insFeeOrderNew.setNoDeptProportionLevel3(noDeptManagerFee.getDeptManagerRadioLevel3());
|
|
|
|
|
- insFeeOrderNew.setNoDeptProportionLevel4(noDeptManagerFee.getDeptManagerRadioLevel4());
|
|
|
|
|
- insFeeOrderNew.setNoDeptProportionLevel5(noDeptManagerFee.getDeptManagerRadioLevel5());
|
|
|
|
|
- insFeeOrderNew.setNoDeptPremiumsLevel1(noDeptManagerFee.getDeptManagerFeeLevel1());
|
|
|
|
|
- insFeeOrderNew.setNoDeptPremiumsLevel2(noDeptManagerFee.getDeptManagerFeeLevel2());
|
|
|
|
|
- insFeeOrderNew.setNoDeptPremiumsLevel3(noDeptManagerFee.getDeptManagerFeeLevel3());
|
|
|
|
|
- insFeeOrderNew.setNoDeptPremiumsLevel4(noDeptManagerFee.getDeptManagerFeeLevel4());
|
|
|
|
|
- insFeeOrderNew.setNoDeptPremiumsLevel5(noDeptManagerFee.getDeptManagerFeeLevel5());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelOne(noDeptManagerFee.getDeptManagerFeeLevel1());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelTwo(noDeptManagerFee.getDeptManagerFeeLevel2());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelThree(noDeptManagerFee.getDeptManagerFeeLevel3());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelFoure(noDeptManagerFee.getDeptManagerFeeLevel4());
|
|
|
|
|
- feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelFive(noDeptManagerFee.getDeptManagerFeeLevel5());
|
|
|
|
|
|
|
+ insFeeOrderNew.setJqDeptProportionLevel1(jqDeptManagerFee.getDeptProportionLevelOne());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptProportionLevel2(jqDeptManagerFee.getDeptProportionLevelTwo());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptProportionLevel3(jqDeptManagerFee.getDeptProportionLevelThree());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptProportionLevel4(jqDeptManagerFee.getDeptProportionLevelFoure());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptProportionLevel5(jqDeptManagerFee.getDeptProportionLevelFive());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptPremiumsLevel1(jqDeptManagerFee.getDeptPremiumsLevelOne());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptPremiumsLevel2(jqDeptManagerFee.getDeptPremiumsLevelTwo());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptPremiumsLevel3(jqDeptManagerFee.getDeptPremiumsLevelThree());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptPremiumsLevel4(jqDeptManagerFee.getDeptPremiumsLevelFoure());
|
|
|
|
|
+ insFeeOrderNew.setJqDeptPremiumsLevel5(jqDeptManagerFee.getDeptPremiumsLevelFive());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelOne(jqDeptManagerFee.getDeptPremiumsLevelOne());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelTwo(jqDeptManagerFee.getDeptPremiumsLevelTwo());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelThree(jqDeptManagerFee.getDeptPremiumsLevelThree());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelFoure(jqDeptManagerFee.getDeptPremiumsLevelFoure());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(0).setDeptPremiumsLevelFive(jqDeptManagerFee.getDeptPremiumsLevelFive());
|
|
|
|
|
+
|
|
|
|
|
+ insFeeOrderNew.setSyDeptProportionLevel1(syDeptManagerFee.getDeptProportionLevelOne());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptProportionLevel2(syDeptManagerFee.getDeptProportionLevelTwo());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptProportionLevel3(syDeptManagerFee.getDeptProportionLevelThree());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptProportionLevel4(syDeptManagerFee.getDeptProportionLevelFoure());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptProportionLevel5(syDeptManagerFee.getDeptProportionLevelFive());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptPremiumsLevel1(syDeptManagerFee.getDeptPremiumsLevelOne());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptPremiumsLevel2(syDeptManagerFee.getDeptPremiumsLevelTwo());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptPremiumsLevel3(syDeptManagerFee.getDeptPremiumsLevelThree());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptPremiumsLevel4(syDeptManagerFee.getDeptProportionLevelFive());
|
|
|
|
|
+ insFeeOrderNew.setSyDeptPremiumsLevel5(syDeptManagerFee.getDeptPremiumsLevelFive());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelOne(syDeptManagerFee.getDeptPremiumsLevelOne());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelTwo(syDeptManagerFee.getDeptPremiumsLevelTwo());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelThree(syDeptManagerFee.getDeptPremiumsLevelThree());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelFoure(syDeptManagerFee.getDeptPremiumsLevelFoure());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(1).setDeptPremiumsLevelFive(syDeptManagerFee.getDeptPremiumsLevelFive());
|
|
|
|
|
+
|
|
|
|
|
+ insFeeOrderNew.setNoDeptProportionLevel1(noDeptManagerFee.getDeptProportionLevelOne());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptProportionLevel2(noDeptManagerFee.getDeptProportionLevelTwo());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptProportionLevel3(noDeptManagerFee.getDeptProportionLevelThree());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptProportionLevel4(noDeptManagerFee.getDeptProportionLevelFoure());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptProportionLevel5(noDeptManagerFee.getDeptProportionLevelFive());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptPremiumsLevel1(noDeptManagerFee.getDeptPremiumsLevelOne());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptPremiumsLevel2(noDeptManagerFee.getDeptPremiumsLevelTwo());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptPremiumsLevel3(noDeptManagerFee.getDeptPremiumsLevelThree());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptPremiumsLevel4(noDeptManagerFee.getDeptPremiumsLevelFoure());
|
|
|
|
|
+ insFeeOrderNew.setNoDeptPremiumsLevel5(noDeptManagerFee.getDeptPremiumsLevelFive());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelOne(noDeptManagerFee.getDeptPremiumsLevelOne());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelTwo(noDeptManagerFee.getDeptPremiumsLevelTwo());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelThree(noDeptManagerFee.getDeptPremiumsLevelThree());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelFoure(noDeptManagerFee.getDeptPremiumsLevelFoure());
|
|
|
|
|
+ feeOrderNewVo.getDeptManagerFee().get(2).setDeptPremiumsLevelFive(noDeptManagerFee.getDeptPremiumsLevelFive());
|
|
|
|
|
|
|
|
|
|
|
|
|
//保存新的比例
|
|
//保存新的比例
|
|
@@ -1156,6 +1202,7 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
public Page<PtlAgreementProductCostsNew> getCostsAuditList(Page page, AgreementProductQueryVo agreementProductQueryVo){
|
|
public Page<PtlAgreementProductCostsNew> getCostsAuditList(Page page, AgreementProductQueryVo agreementProductQueryVo){
|
|
|
LambdaQueryWrapper<PtlAgreementProductCostsNew> ptlAgreementProductCostsNewLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<PtlAgreementProductCostsNew> ptlAgreementProductCostsNewLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
// ptlAgreementProductCostsNewLambdaQueryWrapper.eq(PtlAgreementProductCostsNew::getAgreementId, agreementProductQueryVo.getAgreementId());
|
|
// ptlAgreementProductCostsNewLambdaQueryWrapper.eq(PtlAgreementProductCostsNew::getAgreementId, agreementProductQueryVo.getAgreementId());
|