no message
							parent
							
								
									2e85985110
								
							
						
					
					
						commit
						2e1adbdf35
					
				| 
						 | 
					@ -44,6 +44,6 @@ public interface QuartzLogRepository extends JpaRepository<QuartzLog,Long>, JpaS
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    @Modifying
 | 
					    @Modifying
 | 
				
			||||||
    @Transactional
 | 
					    @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();
 | 
					    void cleanQuartzLog();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue