chore: 实施前基线快照(条件路由/接入改造前)

FlwDef 表单关联列 form_id(Long) -> form_uuid(String,32):对齐表单中心对外身份;M1 仍恒 null、二期对接启用。
This commit is contained in:
chenxing
2026-10-14 18:12:31 +08:00
parent fd4e207ce0
commit a9aeca744d
@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
/** /**
* 流程定义(概览 §4.1 + V2.0 Part D #2/#3 修订)。 * 流程定义(概览 §4.1 + V2.0 Part D #2/#3 修订)。
* flow_guid 绑定"这条流程线"而非某个版本:升版后业务方绑定关系零改动,新发起自动走 * flow_guid 绑定"这条流程线"而非某个版本:升版后业务方绑定关系零改动,新发起自动走
* 当前已发布最高版本;item_code/form_id 留可空列(M1 不启用,原生模式/表单二期)。 * 当前已发布最高版本;item_code/form_uuid 留可空列(M1 不启用,原生模式/表单二期)。
*/ */
@Getter @Getter
@Setter @Setter
@@ -56,9 +56,9 @@ public class FlwDef extends BaseEntity {
@Column(name = "item_code", length = 64) @Column(name = "item_code", length = 64)
private String itemCode; private String itemCode;
/** 关联表单定义(外部托管模式可无表单,M1 恒 null;二期通用表单预留) */ /** 关联表单定义 uuid(表单中心对外身份,32 位;M1 恒 null,二期对接时启用) */
@Column(name = "form_id") @Column(name = "form_uuid", length = 32)
private Long formId; private String formUuid;
/** §5.1 流程定义 JSON */ /** §5.1 流程定义 JSON */
@Column(name = "content_json", nullable = false, columnDefinition = "LONGTEXT") @Column(name = "content_json", nullable = false, columnDefinition = "LONGTEXT")