update 重构汇付会员

This commit is contained in:
Guoqs
2026-03-25 16:19:15 +08:00
parent ea3ad1c904
commit 89263bbe51
15 changed files with 621 additions and 122 deletions

View File

@@ -515,6 +515,8 @@
from adapay_member_account
where del_flag = '0'
and merchant_id = #{merchantId,jdbcType=VARCHAR}
order by create_time desc, id desc
limit 1
</select>
<delete id="deleteByMemberId">
@@ -532,8 +534,18 @@
<update id="deleteAccountByMerchantId">
update
adapay_member_account
set del_flag = '0'
set del_flag = '1'
where merchant_id = #{merchantId,jdbcType=VARCHAR}
and del_flag = '0'
</update>
<update id="clearSettleAccountByMerchantId">
update
adapay_member_account
set settle_account_id = null,
update_time = now()
where merchant_id = #{merchantId,jdbcType=VARCHAR}
and del_flag = '0'
</update>
<select id="selectRecentInfoByMerchantId" resultMap="BaseResultMap">