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