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 // @PostConstruct
public void startMigration() { // public void startMigration() {
CompletableFuture.runAsync(() -> migrateData()); // CompletableFuture.runAsync(() -> migrateData());
} // }
/* @Async /* @Async
public void migrateDataAsync() { public void migrateDataAsync() {

Loading…
Cancel
Save