Sfoglia il codice sorgente

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

zouxuan 1 anno fa
parent
commit
401a2dfe2b

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