廖井涛
8 天以前 1e6c537c6ae83a30fa3732939d16422ff2d105dd
north-glass-erp/src/main/java/com/example/erp/scheduling/ScheduledTasks.java
@@ -10,8 +10,8 @@
public class ScheduledTasks {
    private final ReportingWorkService reportingWorkService;
//    @Scheduled( fixedRate = 2*60*1000)
//    public void reportingWorkRedisToMysql() throws InterruptedException {
//        reportingWorkService.redisToMysqlReportingWork();
//    }
    @Scheduled( fixedRate = 2*60*1000)
    public void reportingWorkRedisToMysql() throws InterruptedException {
        reportingWorkService.redisToMysqlReportingWork();
    }
}