Browse Source

注释数据迁移定时任务

main
parent
commit
fe74a5affa
  1. 8
      src/main/java/com/biutag/supervision/service/DataMigrationServiceImpl.java

8
src/main/java/com/biutag/supervision/service/DataMigrationServiceImpl.java

@ -54,10 +54,10 @@ public class DataMigrationServiceImpl extends ServiceImpl<DataMigrationMapper, D
}
@PostConstruct
public void startMigration() {
CompletableFuture.runAsync(() -> migrateData());
}
// @PostConstruct
// public void startMigration() {
// CompletableFuture.runAsync(() -> migrateData());
// }
/* @Async
public void migrateDataAsync() {

Loading…
Cancel
Save