Browse Source

修改

master
ligaode 3 weeks ago
parent
commit
639015a7ed
  1. 4
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loancaseexecuteapply/LoanCaseExecuteApplyService.java

4
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loancaseexecuteapply/LoanCaseExecuteApplyService.java

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