解绑用户鉴权卡

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

View File

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