From 5985778fce938e0b91f30fc88a4a2510f6ade850 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Sat, 30 Mar 2024 17:38:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3bug=EF=BC=9A=E5=90=8C?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=BE=AE=E4=BF=A1=E7=BB=91=E5=AE=9A=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E7=BB=91=E5=AE=9A=E5=A4=9A=E4=B8=AA=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-boot/src/main/resources/mapper_xml/UserMapperEx.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jshERP-boot/src/main/resources/mapper_xml/UserMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/UserMapperEx.xml index 964b72d9..5fb9f9cb 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/UserMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/UserMapperEx.xml @@ -153,8 +153,7 @@ - update jsh_user u set u.weixin_open_id = #{weixinOpenId} - where u.login_name = #{loginName} and u.password = #{password} - and ifnull(u.status,'0') not in('1','2') + update jsh_user u set u.weixin_open_id = null where u.weixin_open_id = #{weixinOpenId}; + update jsh_user u set u.weixin_open_id = #{weixinOpenId} where u.login_name = #{loginName} and u.password = #{password} and ifnull(u.status,'0') not in('1','2'); \ No newline at end of file