From f4e482fd67ed018aba424d9593b491eee4e7bcd0 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Tue, 5 Aug 2025 15:53:20 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20deploy=5Fsql=5Fdetail?= =?UTF-8?q?=E8=A1=A8=E7=9A=84host=E5=AD=97=E6=AE=B5=E9=95=BF=E5=BA=A6?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=B0200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1481195039195136]deploy_sql_detail表的host字段长度调整到200 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1481195039195136 --- .../api/apppipeline/SaveDeployAppPipelineApi.java | 6 ++---- .../deploy/changelog/2025-08-05/neatlogic_tenant.sql | 2 ++ .../resources/deploy/changelog/2025-08-05/version.json | 10 ++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/neatlogic_tenant.sql create mode 100644 src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/version.json diff --git a/src/main/java/neatlogic/module/deploy/api/apppipeline/SaveDeployAppPipelineApi.java b/src/main/java/neatlogic/module/deploy/api/apppipeline/SaveDeployAppPipelineApi.java index 7c6de9c2..fa45c8a8 100644 --- a/src/main/java/neatlogic/module/deploy/api/apppipeline/SaveDeployAppPipelineApi.java +++ b/src/main/java/neatlogic/module/deploy/api/apppipeline/SaveDeployAppPipelineApi.java @@ -24,10 +24,7 @@ import neatlogic.framework.common.constvalue.ApiParamType; import neatlogic.framework.deploy.auth.DEPLOY_BASE; import neatlogic.framework.deploy.constvalue.DeployAppConfigAction; import neatlogic.framework.deploy.dto.app.*; -import neatlogic.framework.restful.annotation.Description; -import neatlogic.framework.restful.annotation.Input; -import neatlogic.framework.restful.annotation.OperationType; -import neatlogic.framework.restful.annotation.Param; +import neatlogic.framework.restful.annotation.*; import neatlogic.framework.restful.constvalue.OperationTypeEnum; import neatlogic.framework.restful.core.privateapi.PrivateApiComponentBase; import neatlogic.module.deploy.dao.mapper.DeployAppConfigMapper; @@ -80,6 +77,7 @@ public class SaveDeployAppPipelineApi extends PrivateApiComponentBase { @Param(name = "config", type = ApiParamType.JSONOBJECT, isRequired = true, desc = "common.config") }) @Description(desc = "nmdaa.savedeployapppipelineapi.getname") + @ResubmitInterval(value = 2) @Override public Object myDoService(JSONObject paramObj) throws Exception { diff --git a/src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/neatlogic_tenant.sql b/src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/neatlogic_tenant.sql new file mode 100644 index 00000000..93775615 --- /dev/null +++ b/src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/neatlogic_tenant.sql @@ -0,0 +1,2 @@ +ALTER TABLE `deploy_sql_detail` + CHANGE `host` `host` VARCHAR (200) CHARSET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'ip'; diff --git a/src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/version.json b/src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/version.json new file mode 100644 index 00000000..571300fb --- /dev/null +++ b/src/main/resources/neatlogic/resources/deploy/changelog/2025-08-05/version.json @@ -0,0 +1,10 @@ +{ + "content":[ + { + "type":"新增功能", + "detail":[ + {"msg":"1.deploy_sql_detail表的host字段长度调整到200"} + ] + } + ] +} -- Gitee