no message

main
HUOJIN\92525 2024-12-12 11:55:14 +08:00
parent 2e85985110
commit 2e1adbdf35
1 changed files with 1 additions and 1 deletions

View File

@ -44,6 +44,6 @@ public interface QuartzLogRepository extends JpaRepository<QuartzLog,Long>, JpaS
*/
@Modifying
@Transactional
@Query(value = "delete from sys_quartz_log where create_time < DATE_SUB(NOW(), INTERVAL 1 MONTH) ", nativeQuery = true)
@Query(value = "delete from sys_quartz_log where create_time < DATE_SUB(NOW(), INTERVAL 1 MONTH) LIMIT 10000 ", nativeQuery = true)
void cleanQuartzLog();
}