From 2e4045466a7893180dc963308c6369b47a6ebaf1 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 17 二月 2025 10:01:52 +0800 Subject: [PATCH] 取消日志 --- ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/sync/deleteSync.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/sync/deleteSync.java b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/sync/deleteSync.java index 93a929a..331d790 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/sync/deleteSync.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/sync/deleteSync.java @@ -25,7 +25,7 @@ } - @Scheduled(cron = "0 */10 * * * ?") +// @Scheduled(cron = "0 */10 * * * ?") public void remove() throws IOException { System.out.println("鍚屾鍒犻櫎......"); List<Long> ids = baseMapper.getWillDeleted(LocalDateTime.now().minusDays(1)); @@ -45,7 +45,7 @@ * * @throws IOException */ - @Scheduled(cron = "0 0 * * * ?") +// @Scheduled(cron = "0 0 * * * ?") public void removeOssTable() throws IOException { System.out.println("姣忓皬鏃跺畾鏃跺垹闄よ秴杩�30澶╃殑鏁版嵁搴撴枃浠朵俊鎭�......"); List<Long> ids = baseMapper.getWillDeleted(LocalDateTime.now().minusDays(30)); -- Gitblit v1.8.0