From 2f4b2b229a69e66a37f5667b863bc70db19cf03e Mon Sep 17 00:00:00 2001 From: xhxu Date: Tue, 10 Aug 2021 13:37:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=88=E6=9D=83=E6=89=8B=E6=9C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxCUserMapper.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCUserMapper.xml b/mallinkService/src/main/resources/mapper/WxCUserMapper.xml index 1305e23cc..c1cd74047 100644 --- a/mallinkService/src/main/resources/mapper/WxCUserMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCUserMapper.xml @@ -428,13 +428,15 @@ update wx_c_user set update_date=now(), token = null, expire_time=now(), - tenant_id = IF(tenant_id is null ,null,CONCAT(tenant_id,"_del")), - parent_tenant_id = IF(parent_tenant_id is null ,null,CONCAT(parent_tenant_id,"_del")), - open_id = IF(open_id is null ,null,CONCAT(open_id,"_del")), - union_id = IF(union_id is null ,null,CONCAT(union_id,"_del")) - where user_id = #{userId} and tenant_id = #{tenantId} and id != #{id} + user_id = null + where user_id = #{userId} and tenant_id = #{tenantId} and id != #{id} + + + + +