|
|
@ -772,14 +772,14 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper |
|
|
|
loanSolutions.setTrailerAmount(dto.isTrailerAmountCb() ? new BigDecimal(dto.getTrailerAmount()) : BigDecimal.ZERO); |
|
|
|
//是否勾选保险
|
|
|
|
loanSolutions.setPremiumCb(dto.isPremiumCb() ? 1 : 0); |
|
|
|
if(StringUtils.isNotBlank(dto.getPremium())){ |
|
|
|
if (StringUtils.isNotBlank(dto.getPremium())) { |
|
|
|
loanSolutions.setPremium(new BigDecimal(dto.getPremium())); |
|
|
|
} |
|
|
|
// loanSolutions.setPremium(StringUtils.isNotBlank(dto.getPremium()) ? new BigDecimal(dto.getPremium()) : BigDecimal.ZERO);
|
|
|
|
//是否勾选购置税
|
|
|
|
loanSolutions.setPurchaseTaxCb(dto.isPurchaseTaxCb() ? 1 : 0); |
|
|
|
// loanSolutions.setPurchaseTax(StringUtils.isNotBlank(dto.getPurchaseTax()) ? new BigDecimal(dto.getPurchaseTax()) : BigDecimal.ZERO);
|
|
|
|
if(StringUtils.isNotBlank(dto.getPurchaseTax())){ |
|
|
|
if (StringUtils.isNotBlank(dto.getPurchaseTax())) { |
|
|
|
loanSolutions.setPurchaseTax(new BigDecimal(dto.getPurchaseTax())); |
|
|
|
} |
|
|
|
//项目融资总额
|
|
|
@ -1378,6 +1378,14 @@ public class LoanSolutionsService extends MybatisBaseService<LoanSolutionsMapper |
|
|
|
return rate; |
|
|
|
} |
|
|
|
|
|
|
|
public ResultBean save2(SolutionsDto dto) { |
|
|
|
SolutionDetailsDto solutionDetailsDto = new SolutionDetailsDto(); |
|
|
|
BeanUtil.copyProperties(dto, solutionDetailsDto); |
|
|
|
solutionDetailsDto.setBusSid(dto.getSaleOrderSid()); |
|
|
|
ResultBean resultBean = saveDtoss(solutionDetailsDto); |
|
|
|
return resultBean; |
|
|
|
} |
|
|
|
|
|
|
|
/* @Autowired |
|
|
|
private LoanSolutionsTopService loanSolutionsTopService; |
|
|
|
@Autowired |
|
|
|