|
|
@ -1722,19 +1722,21 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl |
|
|
|
LoanFinOtherPolicy loanFinOtherPolicy = null; |
|
|
|
boolean isTue = false; |
|
|
|
if(loanSolutions != null){ |
|
|
|
loanSolutionsDetail = baseMapper.selectByLoanSid(loanSolutions.getSid()); |
|
|
|
loanSolutionsOtherpolicy = baseMapper.selectBySoluSid(loanSolutions.getSid()); |
|
|
|
if (loanSolutionsDetail.getBondAmounts() != null) { |
|
|
|
bigAdd = bigAdd.add(loanSolutionsDetail.getBondAmounts()); |
|
|
|
} |
|
|
|
if(loanSolutions.getFactoryDiscount() != null){ |
|
|
|
bigAdd = bigAdd.add(loanSolutions.getFactoryDiscount()); |
|
|
|
} |
|
|
|
loanSolutionsOtherpolicy = baseMapper.selectBySoluSid(loanSolutions.getSid()); |
|
|
|
|
|
|
|
if(loanSolutionsOtherpolicy != null){ |
|
|
|
if(loanSolutionsOtherpolicy.getOtherDiscount() != null){ |
|
|
|
bigAdd = bigAdd.add(loanSolutionsOtherpolicy.getOtherDiscount()); |
|
|
|
} |
|
|
|
} |
|
|
|
loanSolutionsDetail = baseMapper.selectByLoanSid(loanSolutions.getSid()); |
|
|
|
|
|
|
|
if(loanSolutionsDetail != null){ |
|
|
|
if(loanSolutionsDetail.getProxyAccidentPremium() != null){ |
|
|
|
bigAdd = bigAdd.add(loanSolutionsDetail.getProxyAccidentPremium()); |
|
|
|