From b17e41cf16d52b67c64ecb774e7d0fa44fe5281e Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Wed, 29 Nov 2023 14:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E7=BB=91=E7=94=A8=E6=88=B7=E9=89=B4?= =?UTF-8?q?=E6=9D=83=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/pile/PileAuthCardMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileAuthCardMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileAuthCardMapper.xml index 68eb11fb1..f48645add 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/PileAuthCardMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/PileAuthCardMapper.xml @@ -125,7 +125,8 @@ select from pile_auth_card - where status = '1' + where del_flag = '0' + and status = '1' and member_id = #{memberId,jdbcType=VARCHAR} @@ -140,9 +141,8 @@ 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}