@ -129,8 +129,7 @@
<select id="limitOneMsg" resultMap="EventResult">
select *
from events
where eventTime >= NOW() - INTERVAL 1 HOUR
where state = 1
and state = 1
order by eventTime
limit 1
</select>