src/main/resources/mapper/ApiLogMapper.xml @@ -26,6 +26,7 @@ delete from man_api_log where 1=1 and datediff(week,create_time,getdate()) >= 1 and result != 1 </delete> </mapper>