fix: 自测功能优化。

This commit is contained in:
tianyongbao
2024-05-13 17:56:41 +08:00
parent 09360021b7
commit 7fee1a1045
4 changed files with 57 additions and 6 deletions

View File

@@ -20,10 +20,37 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="remark" column="remark" />
<result property="accountId" column="account_id" />
<result property="state" column="state" />
<result property="billDate" column="bill_date" />
<result property="payDate" column="pay_date" />
<result property="creditLimit" column="credit_limit" />
<result property="debitType" column="debit_type" />
</resultMap>
<sql id="selectAccountsVo">
select a.id, a.name, a.type, a.code, a.balance, a.credit_limit, a.available_limit, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.remark, a.account_id, a.state from accounts a
select
a.id,
a.name,
a.type,
a.code,
a.balance,
a.credit_limit,
a.available_limit,
a.create_by,
a.create_time,
a.update_by,
a.update_time,
a.del_flag,
a.remark,
a.account_id,
a.state,
bcl.bill_date ,
bcl.pay_date ,
bcl.credit_limit ,
bcl.debit_type
from
accounts a
left join bank_card_lend bcl on
bcl.id = a.id
</sql>
<select id="selectAccountsList" parameterType="AccountsDto" resultMap="AccountsResult">