@ -145,7 +145,7 @@
WHERE rr.client_id = #{client_id}
and rr.rate_name = #{channel}
order by rr.expiry_time desc limit 1) r
where r.expiry_time< current_date()
where r.expiry_time<= current_date()
]]>
</update>