瀏覽代碼

Merge branch 'feature/0823-logoff' of http://git.dayaedu.com/yonge/cooleshow

zouxuan 1 年之前
父節點
當前提交
401a2dfe2b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cooleshow-auth/auth-server/src/main/resources/config/mybatis/SysUserMapper.xml

+ 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.*