|
|
@ -516,12 +516,12 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper |
|
|
|
loanSolutionsDetailService.insert(loanSolutionsDetail); |
|
|
|
|
|
|
|
} else {//外部金融的只需要录入厂家贴息
|
|
|
|
//查询金融方案
|
|
|
|
loanSolutions = new LoanSolutions(); |
|
|
|
if(StringUtils.isNotBlank(dto.getTypeKey())){ |
|
|
|
loanSolutions.setType(dto.getType()); |
|
|
|
loanSolutions.setTypeKey(dto.getTypeKey()); |
|
|
|
} |
|
|
|
//查询金融方案
|
|
|
|
loanSolutions = new LoanSolutions(); |
|
|
|
if (StringUtils.isBlank(dto.getFactoryDiscount())) { |
|
|
|
loanSolutions.setFactoryDiscount(new BigDecimal(BigInteger.ZERO)); |
|
|
|
}else{ |
|
|
|