publish 2.0.3

This commit is contained in:
曾文豪
2024-09-10 11:08:06 +08:00
parent 02c2ccc0ff
commit d6ed2b8037
13 changed files with 42 additions and 43 deletions

View File

@@ -23,10 +23,11 @@
</sql>
<select id="getLoginErrorTimes" resultType="int">
select count(1)
from core_log_login
where ip = #{ip}
and create_time > date_add(now(), interval -10 minute)
select count(1)
from core_log_login
where ip = #{ip}
and result = 0
and create_time > date_add(now(), interval -10 minute)
</select>
</mapper>