From ecd223df1244f4f7d430ce9c04feef976324213c Mon Sep 17 00:00:00 2001 From: chenjg <17688741996@163.com> Date: Mon, 22 Jul 2024 15:13:51 +0800 Subject: [PATCH] =?UTF-8?q?#[1199127977754624]=E5=8F=91=E5=B8=83=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E8=87=AA=E5=8A=A8=E5=8C=96=E4=BD=9C=E4=B8=9A=E9=87=8C?= =?UTF-8?q?=E5=AE=9E=E4=BE=8B=E6=98=BE=E7=A4=BA=E6=9C=80=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=AD=97=E6=AE=B5=20http://192.168.0.96:8090/demo/rdm?= =?UTF-8?q?.html#/story-detail/939050947543040/939050947543042/11991279777?= =?UTF-8?q?54624?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../autoexec/dto/job/AutoexecJobPhaseNodeVo.java | 10 ++++++++++ .../source/type/IAutoexecJobSourceTypeHandler.java | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/src/main/java/neatlogic/framework/autoexec/dto/job/AutoexecJobPhaseNodeVo.java b/src/main/java/neatlogic/framework/autoexec/dto/job/AutoexecJobPhaseNodeVo.java index 524a8e57..e4089047 100644 --- a/src/main/java/neatlogic/framework/autoexec/dto/job/AutoexecJobPhaseNodeVo.java +++ b/src/main/java/neatlogic/framework/autoexec/dto/job/AutoexecJobPhaseNodeVo.java @@ -99,6 +99,8 @@ public class AutoexecJobPhaseNodeVo extends AutoexecJobNodeVo implements INodeDe private Integer warnCount = 0; @EntityField(name = "sql名", type = ApiParamType.STRING) private String sqlFile; + @EntityField(name = "额外信息,如发布实例当前版本号名称", type = ApiParamType.JSONOBJECT) + private JSONObject extraInfo; @JSONField(serialize = false) private Integer isExecuted;//是否执行过,用于标识执行过的节点不能删除 @JSONField(serialize = false) @@ -424,6 +426,14 @@ public class AutoexecJobPhaseNodeVo extends AutoexecJobNodeVo implements INodeDe this.sqlFile = sqlFile; } + public JSONObject getExtraInfo() { + return extraInfo; + } + + public void setExtraInfo(JSONObject extraInfo) { + this.extraInfo = extraInfo; + } + public Integer getIsExecuted() { return isExecuted; } diff --git a/src/main/java/neatlogic/framework/autoexec/job/source/type/IAutoexecJobSourceTypeHandler.java b/src/main/java/neatlogic/framework/autoexec/job/source/type/IAutoexecJobSourceTypeHandler.java index fd7cdd51..53d073e6 100644 --- a/src/main/java/neatlogic/framework/autoexec/job/source/type/IAutoexecJobSourceTypeHandler.java +++ b/src/main/java/neatlogic/framework/autoexec/job/source/type/IAutoexecJobSourceTypeHandler.java @@ -255,4 +255,15 @@ public interface IAutoexecJobSourceTypeHandler { * @param profileId 预置参数集id */ void overrideProfile(AutoexecJobVo autoexecJobVo, Map autoexecProfileParamVoMap, Long profileId); + + /** + * 批量补充作业剧本实例节点列表额外的信息 + * + * @param jobId 同一作业id + * @param jobPhaseNodeVoList 作业剧本同一阶段节点列表 + * @return + */ + default void addExtraJobPhaseNodeInfoByList(Long jobId, List jobPhaseNodeVoList) { + return; + } } -- Gitee