From 68f8592191ba2eb568fdf35a79d2867681494731 Mon Sep 17 00:00:00 2001 From: inrgihc Date: Sat, 26 Apr 2025 17:30:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/dromara/dbswitch/admin/service/AssignmentService.java | 1 + 1 file changed, 1 insertion(+) 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());