Browse Source

完善其他融管理保存时名称格式

master
fanzongzhe 2 years ago
parent
commit
cf8eb876db
  1. 16
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanfinotherPolicy/LoanFinOtherPolicyService.java

16
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanfinotherPolicy/LoanFinOtherPolicyService.java

@ -246,16 +246,16 @@ public class LoanFinOtherPolicyService extends MybatisBaseService<LoanFinOtherPo
} }
String otherPolicyName = ""; String otherPolicyName = "";
if (StringUtils.isNotBlank(entity.getBankShortName())) { if (StringUtils.isNotBlank(entity.getBankShortName())) {
otherPolicyName = otherPolicyName + entity.getBankShortName(); otherPolicyName = otherPolicyName + entity.getBankShortName() + " ";
} }
if (StringUtils.isNotBlank(entity.getProductTypeValue())) { if (StringUtils.isNotBlank(entity.getProductTypeValue())) {
otherPolicyName = otherPolicyName + entity.getProductTypeValue(); otherPolicyName = otherPolicyName + entity.getProductTypeValue() + " ";
} }
if (StringUtils.isNotBlank(entity.getPeriodKey())) { if (StringUtils.isNotBlank(entity.getPeriodKey())) {
otherPolicyName = otherPolicyName + entity.getPeriod() + "期"; otherPolicyName = otherPolicyName + entity.getPeriod() + "期" + " ";
} }
if (entity.getMaxLoanRatio() != null) { if (entity.getMaxLoanRatio() != null) {
otherPolicyName = otherPolicyName + entity.getMaxLoanRatio(); otherPolicyName = otherPolicyName + entity.getMaxLoanRatio() + "%";
} }
entity.setOtherPolicyName(otherPolicyName); entity.setOtherPolicyName(otherPolicyName);
if (StringUtils.isNotBlank(useDeptSid)) { if (StringUtils.isNotBlank(useDeptSid)) {
@ -297,16 +297,16 @@ public class LoanFinOtherPolicyService extends MybatisBaseService<LoanFinOtherPo
} }
String otherPolicyName = ""; String otherPolicyName = "";
if (StringUtils.isNotBlank(entity.getBankShortName())) { if (StringUtils.isNotBlank(entity.getBankShortName())) {
otherPolicyName = otherPolicyName + entity.getBankShortName(); otherPolicyName = otherPolicyName + entity.getBankShortName() + " ";
} }
if (StringUtils.isNotBlank(entity.getProductTypeValue())) { if (StringUtils.isNotBlank(entity.getProductTypeValue())) {
otherPolicyName = otherPolicyName + entity.getProductTypeValue(); otherPolicyName = otherPolicyName + entity.getProductTypeValue() + " ";
} }
if (StringUtils.isNotBlank(entity.getPeriodKey())) { if (StringUtils.isNotBlank(entity.getPeriodKey())) {
otherPolicyName = otherPolicyName + entity.getPeriod() + "期"; otherPolicyName = otherPolicyName + entity.getPeriod() + "期" + " ";
} }
if (entity.getMaxLoanRatio() != null) { if (entity.getMaxLoanRatio() != null) {
otherPolicyName = otherPolicyName + entity.getMaxLoanRatio(); otherPolicyName = otherPolicyName + entity.getMaxLoanRatio() + "%";
} }
entity.setOtherPolicyName(otherPolicyName); entity.setOtherPolicyName(otherPolicyName);
if (StringUtils.isNotBlank(useDeptSid)) { if (StringUtils.isNotBlank(useDeptSid)) {

Loading…
Cancel
Save