|
|
|
|
@ -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() { |
|
|
|
|
|