Browse Source

修改

zhanglei
ligaode 2 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);
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);
}
}
Loading…
Cancel
Save