@ -113,12 +113,4 @@ public class PrintLogServiceImpl extends ServiceImpl<PrintLogMapper, PrintLog> i
return printLogMapper.getPrintLogListByCondition(printLog);
}
@Scheduled(cron = "0 0/3 20 * * ? ")
public void myTask(){
List<PrintLog> list = printLogService.list();
for (PrintLog printLog:list) {
printLog.setModifiedDateTime(LocalDateTime.now());
printLogService.updateBatchById(list);