nnnn
This commit is contained in:
@@ -11,5 +11,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<insert id="refreshIp">
|
||||
insert into cai_ip_black(`ip_addr`,`enable_status`)
|
||||
select t1.ip_addr,1
|
||||
from cai_ip_record t1
|
||||
left join cai_ip_black t2 on t1.ip_addr = t2.ip_addr
|
||||
where t1.number > #{ipNumber} and t1.count_date = #{now} and t2.id is null;
|
||||
</insert>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user