src/main/resources/mapper/ApiLogMapper.xml @@ -22,4 +22,10 @@ </resultMap> <delete id="clearWeekBefore"> delete from man_api_log where 1=1 and datediff(week,create_time,getdate()) >= 1 </delete> </mapper>