增加防御代码,防止恶意攻击(优化)

This commit is contained in:
季圣华
2021-08-22 19:11:17 +08:00
parent d21e6a4ffe
commit 182b9e2bc1
3 changed files with 3 additions and 2 deletions

View File

@@ -72,6 +72,6 @@
</select>
<select id="getCountByIpAndDate" resultType="java.lang.Long">
select count(1) from jsh_log where client_ip=#{clientIp} and create_time=#{createTime}
select count(1) from jsh_log where operation=#{moduleName} and client_ip=#{clientIp} and create_time=#{createTime}
</select>
</mapper>