fix: 信用卡账单统计,bug修复。
This commit is contained in:
@@ -30,4 +30,8 @@ public class AccountsDto extends BaseEntity implements Serializable
|
||||
@ApiModelProperty(value="账户状态")
|
||||
private String state;
|
||||
|
||||
/** 账户状态 */
|
||||
@ApiModelProperty(value="账户id")
|
||||
private Long accountId;
|
||||
|
||||
}
|
||||
|
||||
@@ -432,6 +432,7 @@ public class StatisticAnalysisImpl implements IStatisticAnalysisService {
|
||||
dto.setState("1");
|
||||
//信用卡
|
||||
dto.setType("2");
|
||||
dto.setAccountId(analysisDto.getId());
|
||||
List<AccountsVo> accountsList=accountsMapper.selectAccountsList(dto);
|
||||
double creditAvailableLimit =0;
|
||||
double creditBalance =0;
|
||||
|
||||
@@ -60,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="name != null and name != ''"> and a.name like '%'|| #{name}||'%'</if>
|
||||
<if test="type != null and type != ''"> and a.type = #{type}</if>
|
||||
<if test="state != null and state != ''"> and a.state = #{state}</if>
|
||||
<if test="accountId != null and accountId != ''"> and a.account_id = #{accountId}</if>
|
||||
</where>
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
|
||||
Reference in New Issue
Block a user