fix:信用卡账单功能完善。
This commit is contained in:
@@ -22,6 +22,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="remark" column="remark" />
|
||||
<result property="posCount" column="pos_count" />
|
||||
<result property="dailyExpensesCount" column="daily_expenses_count" />
|
||||
<result property="availableLimit" column="available_limit" />
|
||||
<result property="payDate" column="pay_date" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectCreditCardBillVo">
|
||||
@@ -40,7 +42,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.bill_state,
|
||||
a.remark,
|
||||
bc."name" as bank_name,
|
||||
bc.pay_date,
|
||||
bc.code as bank_code,
|
||||
a2.available_limit,
|
||||
(
|
||||
select
|
||||
count(*)
|
||||
@@ -83,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
credit_card_bill a
|
||||
left join bank_card_lend bc on
|
||||
bc.id = a.credit_card_id
|
||||
left join accounts a2 on a2.id =a.credit_card_id
|
||||
</sql>
|
||||
|
||||
<select id="selectCreditCardBillList" parameterType="CreditCardBillDto" resultMap="CreditCardBillResult">
|
||||
|
||||
Reference in New Issue
Block a user