fix: 记账账户统计,只统计储蓄卡余额。
This commit is contained in:
@@ -1630,7 +1630,7 @@ public class StatisticAnalysisImpl implements IStatisticAnalysisService {
|
|||||||
dto.setStatus("1");
|
dto.setStatus("1");
|
||||||
//储蓄卡
|
//储蓄卡
|
||||||
dto.setType("1");
|
dto.setType("1");
|
||||||
//只计算储蓄卡和网络账户的余额
|
//只计算储蓄卡账户的余额
|
||||||
dto.setRepayFlag("1");
|
dto.setRepayFlag("1");
|
||||||
List<AccountsVo> accountsList=accountsMapper.selectAccountsList(dto);
|
List<AccountsVo> accountsList=accountsMapper.selectAccountsList(dto);
|
||||||
double debetBalance =0;
|
double debetBalance =0;
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="state != null and state != ''"> and a.state = #{state}</if>
|
<if test="state != null and state != ''"> and a.state = #{state}</if>
|
||||||
<if test="status != null and status != ''"> and a.status = #{status}</if>
|
<if test="status != null and status != ''"> and a.status = #{status}</if>
|
||||||
<if test="accountId != null and accountId != ''"> and a.account_id = #{accountId}</if>
|
<if test="accountId != null and accountId != ''"> and a.account_id = #{accountId}</if>
|
||||||
<if test="repayFlag != null and repayFlag != ''"> and bcl.debit_type in('1','2','3')</if>
|
<if test="repayFlag != null and repayFlag != ''"> and bcl.debit_type in('1','2')</if>
|
||||||
</where>
|
</where>
|
||||||
<!-- 数据范围过滤 -->
|
<!-- 数据范围过滤 -->
|
||||||
${params.dataScope}
|
${params.dataScope}
|
||||||
|
|||||||
Reference in New Issue
Block a user