应付金额汇率转换为本位币

This commit is contained in:
liuminghui
2026-11-18 09:35:35 +08:00
parent ca45e15559
commit 99aa751b2a
13 changed files with 84 additions and 50 deletions
@@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="bizDate" column="biz_date" />
</resultMap>
<sql id="feeItemName">
@@ -192,6 +193,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and statement_line_id is not null
</select>
<select id="selectOpenFees" resultMap="PrcPayBillFeeResult">
select f.fee_id, f.bill_id, f.amount, f.currency, b.biz_date
from prc_pay_bill_fee f
left join prc_order_bill b on b.bill_id = f.bill_id
where ifnull(f.is_deleted, '0') = '0'
and f.bill_id in
<foreach collection="billIds" item="billId" open="(" separator="," close=")">#{billId}</foreach>
</select>
<update id="markCalcDeleted">
update prc_pay_bill_fee
set is_deleted = '1',