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