fix: 自测功能优化。
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user