修改账单ID类型为Long,更新相关服务和Mapper逻辑

This commit is contained in:
wuweihua
2026-11-16 12:40:05 +08:00
parent a5cd752005
commit 03043104bc
22 changed files with 179 additions and 92 deletions
@@ -257,18 +257,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where prc_income_bill_fee_id = #{oldFeeId}
</update>
<!-- 现网关联表回写 order_id(旧 UUID 列不动) -->
<!-- 应付表:正式列 bill_id/order_bill_id;旧 UUID 保留在 *_old -->
<update id="updatePayBillOrderId">
update prc_pay_bill
set order_id = #{newBillId}
where bill_id = #{oldBillId}
set bill_id = #{newBillId}
where bill_id_old = #{oldBillId}
</update>
<update id="updatePayFeeOrderId">
update prc_pay_bill_fee
set order_id = #{newBillId}
where bill_id = #{oldBillId}
set bill_id = #{newBillId}
where bill_id_old = #{oldBillId}
</update>
<update id="updateArDetailOrderId">
@@ -279,8 +279,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updatePayBillLineOrderId">
update pay_bill_line
set order_id = #{newBillId}
where order_bill_id = #{oldBillId}
set order_bill_id = #{newBillId}
where order_bill_id_old = #{oldBillId}
</update>
<!-- bill_id dropped; order_id is the live FK. No-op for legacy sync. -->