Bladeren bron

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

zouxuan 1 jaar geleden
bovenliggende
commit
401a2dfe2b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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.*