mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-08-13 17:53:45 +08:00
update 汇付账户本地删除与结算校验
This commit is contained in:
@@ -572,11 +572,14 @@
|
||||
and adapay_member_id = #{memberId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<update id="deleteAccountByMerchantId">
|
||||
<update id="deleteCurrentAccount">
|
||||
update
|
||||
adapay_member_account
|
||||
set del_flag = '1'
|
||||
where merchant_id = #{merchantId,jdbcType=VARCHAR}
|
||||
set del_flag = '1',
|
||||
update_time = now()
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
and merchant_id = #{merchantId,jdbcType=VARCHAR}
|
||||
and adapay_member_id = #{adapayMemberId,jdbcType=VARCHAR}
|
||||
and del_flag = '0'
|
||||
</update>
|
||||
|
||||
|
||||
@@ -41,6 +41,13 @@
|
||||
where t1.adapay_member_id = #{adapayMemberId}
|
||||
</select>
|
||||
|
||||
<select id="countActiveByAdapayMemberId" resultType="int">
|
||||
select count(distinct station_id)
|
||||
from station_split_config
|
||||
where adapay_member_id = #{adapayMemberId}
|
||||
and del_flag = '0'
|
||||
</select>
|
||||
|
||||
<insert id="batchInsert" parameterType="map">
|
||||
<!--@mbg.generated-->
|
||||
insert into station_split_config
|
||||
|
||||
Reference in New Issue
Block a user