From de49b6a92bd6f4299a5900fc6424990d6190f10a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= Date: Mon, 25 Feb 2019 20:45:36 +0800 Subject: [PATCH] =?UTF-8?q?:arrow=5Fup:=20Upgrading=20dependencies.=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7mybat=20plus=20=E7=89=88=E6=9C=AC=203.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pigx-common/pigx-common-bom/pom.xml | 2 +- .../main/java/com/pig4cloud/pigx/codegen/util/GenUtils.java | 2 +- pigx-visual/pigx-zipkin/pom.xml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) 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