|
|
@ -876,6 +876,7 @@ public class LoanCaseExecuteApplyService extends MybatisBaseService<LoanCaseExec |
|
|
|
loanCaseExecuteApplyDetailsVo.setPjclFiles(pjclFiles); |
|
|
|
List<LoanCaseExecuteVehDetailsVo> loanCaseExecuteVehDetailsVos = new ArrayList<>(); |
|
|
|
List<LoanCaseProgressVeh> loanCaseProgressVehs = loanCaseProgressVehService.selByMainSid(sid); |
|
|
|
BigDecimal amountInArear = new BigDecimal("0"); |
|
|
|
for (LoanCaseProgressVeh loanCaseProgressVeh : loanCaseProgressVehs) { |
|
|
|
LoanCaseExecuteVehDetailsVo loanCaseExecuteVehDetailsVo = new LoanCaseExecuteVehDetailsVo(); |
|
|
|
loanCaseExecuteVehDetailsVo.setVinNo(loanCaseProgressVeh.getVinNo()); |
|
|
@ -884,8 +885,11 @@ public class LoanCaseExecuteApplyService extends MybatisBaseService<LoanCaseExec |
|
|
|
loanCaseExecuteVehDetailsVo.setCarState(loanCaseProgressVeh.getVehStatus()); |
|
|
|
loanCaseExecuteVehDetailsVo.setRemarks(loanCaseProgressVeh.getRemarks()); |
|
|
|
loanCaseExecuteVehDetailsVos.add(loanCaseExecuteVehDetailsVo); |
|
|
|
AlrepaidAndArrVo alrepaidAndArr2 = loanRestoreReportApplyService.getAlrepaidAndArr2(loanCaseProgressVeh.getBusVinSid()); |
|
|
|
amountInArear = amountInArear.add(new BigDecimal(alrepaidAndArr2.getCurrentBeMoney())); |
|
|
|
} |
|
|
|
loanCaseExecuteApplyDetailsVo.setLoanCaseExecuteVehList(loanCaseExecuteVehDetailsVos); |
|
|
|
loanCaseExecuteApplyDetailsVo.setAmountInArear(amountInArear); |
|
|
|
return rb.success().setData(loanCaseExecuteApplyDetailsVo); |
|
|
|
} |
|
|
|
} |