Browse Source

账户注销

zouxuan 1 year ago
parent
commit
c6f94b218b

+ 1 - 1
cooleshow-auth/auth-server/src/main/resources/config/mybatis/SysUserMapper.xml

@@ -280,7 +280,7 @@
         update sys_user set del_flag_ = 1, phone_ = concat('D', ${num}, '+', phone_) where id_ = ${userId}
     </update>
     <update id="logoffByPhone">
-        update sys_user set del_flag_ = 1, phone_ = concat('D', phone_),update_time_ = now() where phone_ = ${phone}
+        update sys_user set del_flag_ = 1, phone_ = concat('D', phone_),update_time_ = now() where phone_ = #{phone}
     </update>
     <select id="queryEmployeeList" resultMap="SysUser">
         select  su.*