Browse Source

优化

zhanglei
dimengzhe 2 years ago
parent
commit
652098d06c
  1. 3
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loantemplate/LoanTemplateService.java

3
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loantemplate/LoanTemplateService.java

@ -189,6 +189,7 @@ public class LoanTemplateService extends MybatisBaseService<LoanTemplateMapper,
SolutionDetailsDto solutionsDto = new SolutionDetailsDto();
BeanUtil.copyProperties(loanTemplateSolutionsDto, solutionsDto, "sid");
solutionsDto.setBusSid(sid);
solutionsDto.setShowMore(true);
ResultBean resultBean = loanSolutionsService.saveDtoss(solutionsDto);
if (!resultBean.getSuccess()) {
return rb.setMsg(resultBean.getMsg());
@ -208,6 +209,7 @@ public class LoanTemplateService extends MybatisBaseService<LoanTemplateMapper,
SolutionDetailsDto solutionsDto = new SolutionDetailsDto();
BeanUtil.copyProperties(loanTemplateSolutionsDto, solutionsDto, "sid");
solutionsDto.setBusSid(sid);
solutionsDto.setShowMore(true);
loanSolutionsService.saveDtoss(solutionsDto);
}
baseMapper.updateById(loanTemplate);
@ -628,6 +630,7 @@ public class LoanTemplateService extends MybatisBaseService<LoanTemplateMapper,
BeanUtil.copyProperties(loanSolutionsDetail, solutionssVo);
}
}
solutionssVo.setShowMore(true);
List<SolutionListVo> formList = loanSolutionsService.getFormList(solutionssVo);
templateApplyVo.setFinanceForms(formList);
return rb.success().setData(templateApplyVo);

Loading…
Cancel
Save