mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-16 05:10:04 +08:00
update 重构汇付会员
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user