新增 删除结算账户、新增结算账户接口

This commit is contained in:
Lemon
2025-06-25 15:37:29 +08:00
parent d892f2d7b2
commit 1e178d6890
6 changed files with 126 additions and 1 deletions

View File

@@ -528,4 +528,20 @@
where del_flag = '0'
and adapay_member_id = #{memberId,jdbcType=VARCHAR}
</select>
<update id="deleteAccountByMerchantId">
update
adapay_member_account
set del_flag = '0'
where merchant_id = #{merchantId,jdbcType=VARCHAR}
</update>
<select id="selectRecentInfoByMerchantId" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from adapay_member_account
where merchant_id = #{merchantId,jdbcType=VARCHAR}
order by create_time desc
limit 1
</select>
</mapper>