fix: 记账管理系统,记账账户统计,新增信用卡可用余额接口。

This commit is contained in:
tianyongbao
2024-12-25 19:45:17 +08:00
parent 8777dda01d
commit 8478eba30b
3 changed files with 37 additions and 0 deletions

View File

@@ -266,4 +266,19 @@
to_char(a.create_time,
'yyyy-MM-dd') desc
</select>
<select id="selectCreditCardList" parameterType="BankCardLendDto" resultType="com.ruoyi.invest.domain.vo.AccountsVo">
select
a."name" ,
sum(a.available_limit) as availableLimit
from
accounts a
where
a."type" = '2'
and a.status = '1'
<!-- 数据范围过滤 -->
${params.dataScope}
group by a."name"
</select>
</mapper>