解决账户统计报表展示金额的bug
This commit is contained in:
parent
ec45e0cf9d
commit
da9c31762a
@ -115,6 +115,7 @@ public class AccountController {
|
||||
BigDecimal balance = accountService.getAccountSum(accountId, timeStr, "date").add(accountService.getAccountSumByHead(accountId, timeStr, "date"))
|
||||
.add(accountService.getAccountSumByDetail(accountId, timeStr, "date")).add(accountService.getManyAccountSum(accountId, timeStr, "date")).add(initialAmount);
|
||||
aEx.setBalance(balance);
|
||||
aEx.setAccountId(accountId);
|
||||
dataArray.add(aEx);
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,6 +4,8 @@ import java.math.BigDecimal;
|
||||
|
||||
public class AccountVo4InOutList {
|
||||
|
||||
private Long accountId;
|
||||
|
||||
private String number;
|
||||
|
||||
private String type;
|
||||
@ -24,6 +26,14 @@ public class AccountVo4InOutList {
|
||||
|
||||
private Long tenantId;
|
||||
|
||||
public Long getAccountId() {
|
||||
return accountId;
|
||||
}
|
||||
|
||||
public void setAccountId(Long accountId) {
|
||||
this.accountId = accountId;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user