功能修改

master
zpl 3 years ago
parent fb9d3908be
commit 5eac000492

@ -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);
}
}
Loading…
Cancel
Save