支持配置文件切换环境

This commit is contained in:
inrgihc
2024-10-18 22:49:50 +08:00
parent f3a51c2097
commit 35bd4c70ce
13 changed files with 103 additions and 120 deletions

View File

@@ -39,7 +39,7 @@ import org.springframework.util.StopWatch;
*/
@Slf4j
@Service
public class MigrationService {
public class MigrationService implements Runnable {
/**
* 性能统计记录表
@@ -93,6 +93,7 @@ public class MigrationService {
/**
* 执行入口
*/
@Override
public void run() {
if (Objects.nonNull(mdcKeyValue)) {
Runnable runnable = new LoggingRunnable(this::doRun, this.mdcKeyValue);