diff --git a/pigx-common/pigx-common-bom/pom.xml b/pigx-common/pigx-common-bom/pom.xml index bb688900b..b80f199ee 100644 --- a/pigx-common/pigx-common-bom/pom.xml +++ b/pigx-common/pigx-common-bom/pom.xml @@ -18,7 +18,7 @@ 2.5.1 2.9.6 - 3.0.6 + 3.1.0 8.0.13 diff --git a/pigx-visual/pigx-codegen/src/main/java/com/pig4cloud/pigx/codegen/util/GenUtils.java b/pigx-visual/pigx-codegen/src/main/java/com/pig4cloud/pigx/codegen/util/GenUtils.java index c1ea2bbfe..9859c459c 100644 --- a/pigx-visual/pigx-codegen/src/main/java/com/pig4cloud/pigx/codegen/util/GenUtils.java +++ b/pigx-visual/pigx-codegen/src/main/java/com/pig4cloud/pigx/codegen/util/GenUtils.java @@ -223,7 +223,7 @@ public class GenUtils { */ private String tableToJava(String tableName, String tablePrefix) { if (StringUtils.isNotBlank(tablePrefix)) { - tableName = tableName.replace(tablePrefix, ""); + tableName = tableName.replaceFirst(tablePrefix, ""); } return columnToJava(tableName); } diff --git a/pigx-visual/pigx-zipkin/pom.xml b/pigx-visual/pigx-zipkin/pom.xml index 08e8e7ee6..b82e74f19 100644 --- a/pigx-visual/pigx-zipkin/pom.xml +++ b/pigx-visual/pigx-zipkin/pom.xml @@ -67,6 +67,10 @@ zipkin-autoconfigure-storage-mysql ${zipkin.version} + + org.springframework.boot + spring-boot-starter-jdbc + io.zipkin.java zipkin-storage-mysql