diff --git a/dbswitch-admin/src/main/java/org/dromara/dbswitch/admin/service/AssignmentService.java b/dbswitch-admin/src/main/java/org/dromara/dbswitch/admin/service/AssignmentService.java index 9b297b24..791b3740 100644 --- a/dbswitch-admin/src/main/java/org/dromara/dbswitch/admin/service/AssignmentService.java +++ b/dbswitch-admin/src/main/java/org/dromara/dbswitch/admin/service/AssignmentService.java @@ -304,6 +304,7 @@ public class AssignmentService { sourceDataSourceProperties.setIncrTableColumns(incrTableColumns); sourceDataSourceProperties.setBeforeSqlScripts(assignmentConfigEntity.getPreSqlScripts()); sourceDataSourceProperties.setAfterSqlScripts(assignmentConfigEntity.getPostSqlScripts()); + sourceDataSourceProperties.setRegexTableMapper(assignmentConfigEntity.getTableNameMap()); sourceDataSourceProperties.setRegexColumnMapper(assignmentConfigEntity.getColumnNameMap()); sourceDataSourceProperties.setFetchSize(assignmentConfigEntity.getBatchSize()); sourceDataSourceProperties.setTableType(assignmentConfigEntity.getTableType().name());