解绑用户鉴权卡

This commit is contained in:
2023-11-29 14:31:17 +08:00
parent 5aaca3418c
commit b17e41cf16

View File

@@ -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">