|
|
@ -83,7 +83,7 @@ public class LoanFinPolicyService extends MybatisBaseService<LoanFinPolicyMapper |
|
|
|
LoanFinOtherPolicyDto loanFinOtherPolicyDto = dto.getLoanFinOtherPolicy(); |
|
|
|
BeanUtil.copyProperties(loanFinOtherPolicyDto, loanFinOtherPolicy); |
|
|
|
//其它融名称=资方+产品类别+最高融资比例+期数
|
|
|
|
String name = loanFinOtherPolicy.getBankShortName() + loanFinOtherPolicy.getProductTypeValue() + loanFinOtherPolicy.getMaxLoanRatio() + loanFinOtherPolicy.getPeriod(); |
|
|
|
String name = loanFinOtherPolicy.getBankShortName() + "/" + loanFinOtherPolicy.getProductTypeValue() + "/" + loanFinOtherPolicy.getMaxLoanRatio() + "/" + loanFinOtherPolicy.getPeriod(); |
|
|
|
loanFinOtherPolicy.setOtherPolicyName(name); |
|
|
|
loanFinOtherPolicy.setMainPolicySid(loanFinPolicy.getSid()); |
|
|
|
loanFinOtherPolicy.setUseDeptSids(deptSids); |
|
|
@ -130,7 +130,7 @@ public class LoanFinPolicyService extends MybatisBaseService<LoanFinPolicyMapper |
|
|
|
loanFinOtherPolicy.setUseDeptSids(deptSids); |
|
|
|
loanFinOtherPolicy.setUseDeptNames(deptNames); |
|
|
|
//其它融名称=资方+产品类别+最高融资比例+期数
|
|
|
|
String name = loanFinOtherPolicy.getBankShortName() + loanFinOtherPolicy.getProductTypeValue() + loanFinOtherPolicy.getMaxLoanRatio() + loanFinOtherPolicy.getPeriod(); |
|
|
|
String name = loanFinOtherPolicy.getBankShortName() + "/" + loanFinOtherPolicy.getProductTypeValue() + "/" + loanFinOtherPolicy.getMaxLoanRatio() + "/" + loanFinOtherPolicy.getPeriod(); |
|
|
|
loanFinOtherPolicy.setOtherPolicyName(name); |
|
|
|
loanFinOtherPolicyService.updateById(loanFinOtherPolicy); |
|
|
|
} else { |
|
|
@ -146,7 +146,7 @@ public class LoanFinPolicyService extends MybatisBaseService<LoanFinPolicyMapper |
|
|
|
loanFinOtherPolicy.setCreateOrgName(useOrgName); |
|
|
|
loanFinOtherPolicy.setCreateBySid(dto.getUserSid()); |
|
|
|
//其它融名称=资方+产品类别+最高融资比例+期数
|
|
|
|
String name = loanFinOtherPolicy.getBankShortName() + loanFinOtherPolicy.getProductTypeValue() + loanFinOtherPolicy.getMaxLoanRatio() + loanFinOtherPolicy.getPeriod(); |
|
|
|
String name = loanFinOtherPolicy.getBankShortName() + "/" + loanFinOtherPolicy.getProductTypeValue() + "/" + loanFinOtherPolicy.getMaxLoanRatio() + "/" + loanFinOtherPolicy.getPeriod(); |
|
|
|
loanFinOtherPolicy.setOtherPolicyName(name); |
|
|
|
loanFinOtherPolicyService.insert(loanFinOtherPolicy); |
|
|
|
} |
|
|
|