fix:记账账户功能,与其他模块功能联合。

This commit is contained in:
tianyongbao
2024-07-08 07:02:25 +08:00
parent 792b72bc93
commit 6f931da795
6 changed files with 60 additions and 6 deletions

View File

@@ -28,10 +28,39 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="isNextBillDate" column="is_next_bill_date" />
<result property="nextBillDateTime" column="next_bill_date_time" />
<result property="isZeroBill" column="is_zero_bill" />
<result property="balance" column="balance" />
<result property="availableLimit" column="available_limit" />
</resultMap>
<sql id="selectBankCardLendVo">
select a.id, a.name, a.type, a.code, a.opening_bank, a.activation_date, a.bill_date, a.pay_date, a.delay_period, a.credit_limit, a.effective_date, a.cvv, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.remark, a.debit_type, a.lend_type, a.is_next_bill_date, a.next_bill_date_time, a.is_zero_bill from bank_card_lend a
select
a.id,
a.name,
a.type,
a.code,
a.opening_bank,
a.activation_date,
a.bill_date,
a.pay_date,
a.delay_period,
a.credit_limit,
a.effective_date,
a.cvv,
a.create_by,
a.create_time,
a.update_by,
a.update_time,
a.del_flag,
a.remark,
a.debit_type,
a.lend_type,
a.is_next_bill_date,
a.next_bill_date_time,
a.is_zero_bill,
t.balance,
t.available_limit,
from bank_card_lend a
left join accounts t on t.id=a.id
</sql>
<select id="selectBankCardLendList" parameterType="BankCardLendDto" resultMap="BankCardLendResult">

View File

@@ -25,6 +25,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="remark" column="remark" />
<result property="bankName" column="bank_name" />
<result property="bankCode" column="bank_code" />
<result property="balance" column="balance" />
<result property="availableLimit" column="available_limit" />
</resultMap>
<sql id="selectFutureStocksVo">
@@ -48,11 +50,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.del_flag,
a.remark ,
bc."name" as bank_name,
bc.code as bank_code
bc.code as bank_code,
t.balance,
t.available_limit,
from
future_stocks a
left join bank_card_lend bc on
bc.id = a.debit_card
left join accounts t on t.id=a.id
</sql>
<select id="selectFutureStocksList" parameterType="FutureStocksDto" resultMap="FutureStocksResult">