mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 20:59:27 +08:00
登录信息修改的优化
This commit is contained in:
@@ -25,12 +25,4 @@
|
||||
login_at,is_ban_login,login_times,
|
||||
created_at,updated_at
|
||||
</sql>
|
||||
|
||||
<update id="updateLoginAtAndLoginTimes">
|
||||
UPDATE `admin_users`
|
||||
SET `login_at` = #{loginAt},
|
||||
`login_times`= #{loginTimes}
|
||||
where id = #{id}
|
||||
and `login_times` = ${loginTimes - 1} limit 1
|
||||
</update>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user