This commit is contained in:
ChengTie(鐵手)
2022-05-13 14:37:17 +08:00
committed by GitHub
parent af432bf10a
commit 591126ee6b

View File

@@ -182,7 +182,9 @@ public class RdbAdapter implements OuterAdapter {
return;
}
try {
rdbSyncService.sync(mappingConfigCache, dmls, envProperties);
if (!mappingConfigCache.isEmpty()) {
rdbSyncService.sync(mappingConfigCache, dmls, envProperties);
}
rdbMirrorDbSyncService.sync(dmls);
} catch (Exception e) {
throw new RuntimeException(e);