Browse Source

修改执行立案金额字段返回为string类型

master
dimengzhe 2 weeks ago
parent
commit
9089259be0
  1. 8
      anrui-riskcenter/anrui-riskcenter-api/src/main/java/com/yxt/anrui/riskcenter/api/loancaseexecuteapply/LoanCaseExecuteApplyDetailsVo.java
  2. 4
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loancaseexecuteapply/LoanCaseExecuteApplyService.java

8
anrui-riskcenter/anrui-riskcenter-api/src/main/java/com/yxt/anrui/riskcenter/api/loancaseexecuteapply/LoanCaseExecuteApplyDetailsVo.java

@ -111,13 +111,13 @@ public class LoanCaseExecuteApplyDetailsVo implements Vo {
@ApiModelProperty("执行立案金额") @ApiModelProperty("执行立案金额")
private String executeRegisMoney; // 执行立案金额 private String executeRegisMoney; // 执行立案金额
@ApiModelProperty("当前欠款金额") @ApiModelProperty("当前欠款金额")
private BigDecimal amountInArear; private String amountInArear;
@ApiModelProperty("其中执行欠款金额") @ApiModelProperty("其中执行欠款金额")
private BigDecimal executeAmountInArear; private String executeAmountInArear;
@ApiModelProperty("其中执行费用金额") @ApiModelProperty("其中执行费用金额")
private BigDecimal executeExpenseAmount; private String executeExpenseAmount;
@ApiModelProperty("预计申请还账金额") @ApiModelProperty("预计申请还账金额")
private BigDecimal badDebtAmount; private String badDebtAmount;
@ApiModelProperty("案件进程sid") @ApiModelProperty("案件进程sid")
private String busSid; private String busSid;
@ApiModelProperty("分公司sid") @ApiModelProperty("分公司sid")

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

@ -876,7 +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"); BigDecimal amountInArear = BigDecimal.ZERO;
for (LoanCaseProgressVeh loanCaseProgressVeh : loanCaseProgressVehs) { for (LoanCaseProgressVeh loanCaseProgressVeh : loanCaseProgressVehs) {
LoanCaseExecuteVehDetailsVo loanCaseExecuteVehDetailsVo = new LoanCaseExecuteVehDetailsVo(); LoanCaseExecuteVehDetailsVo loanCaseExecuteVehDetailsVo = new LoanCaseExecuteVehDetailsVo();
loanCaseExecuteVehDetailsVo.setVinNo(loanCaseProgressVeh.getVinNo()); loanCaseExecuteVehDetailsVo.setVinNo(loanCaseProgressVeh.getVinNo());
@ -889,7 +889,7 @@ public class LoanCaseExecuteApplyService extends MybatisBaseService<LoanCaseExec
amountInArear = amountInArear.add(new BigDecimal(alrepaidAndArr2.getCurrentBeMoney())); amountInArear = amountInArear.add(new BigDecimal(alrepaidAndArr2.getCurrentBeMoney()));
} }
loanCaseExecuteApplyDetailsVo.setLoanCaseExecuteVehList(loanCaseExecuteVehDetailsVos); loanCaseExecuteApplyDetailsVo.setLoanCaseExecuteVehList(loanCaseExecuteVehDetailsVos);
loanCaseExecuteApplyDetailsVo.setAmountInArear(amountInArear); loanCaseExecuteApplyDetailsVo.setAmountInArear(amountInArear.toString());
return rb.success().setData(loanCaseExecuteApplyDetailsVo); return rb.success().setData(loanCaseExecuteApplyDetailsVo);
} }
} }
Loading…
Cancel
Save