From 5eac00049249ca4570503ebe9fe3e455892ca9e6 Mon Sep 17 00:00:00 2001 From: zpl Date: Tue, 24 Aug 2021 08:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/common/service/impl/PrintLogServiceImpl.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java index 1f6a41fc..8facf6b1 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java +++ b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java @@ -113,12 +113,4 @@ public class PrintLogServiceImpl extends ServiceImpl i return printLogMapper.getPrintLogListByCondition(printLog); } - @Scheduled(cron = "0 0/3 20 * * ? ") - public void myTask(){ - List list = printLogService.list(); - for (PrintLog printLog:list) { - printLog.setModifiedDateTime(LocalDateTime.now()); - } - printLogService.updateBatchById(list); - } } \ No newline at end of file