mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
解绑用户鉴权卡
This commit is contained in:
@@ -125,7 +125,8 @@
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from pile_auth_card
|
||||
where status = '1'
|
||||
where del_flag = '0'
|
||||
and status = '1'
|
||||
<if test="memberId != null and memberId != ''">
|
||||
and member_id = #{memberId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
@@ -140,9 +141,8 @@
|
||||
|
||||
<update id="unBindingCard">
|
||||
update pile_auth_card
|
||||
set status = '9'
|
||||
where member_id = #{memberId,jdbcType=VARCHAR}
|
||||
and logic_card = #{logicCard,jdbcType=VARCHAR}
|
||||
set status = '0', member_id = null
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
|
||||
<select id="selectSomeStatusCardInfo" resultMap="PileAuthCardResult">
|
||||
|
||||
Reference in New Issue
Block a user