From 8aaf85173082f27c9edb5ca72d186826c5218f32 Mon Sep 17 00:00:00 2001 From: orange-form <3510245832@qq.com> Date: Sat, 12 Oct 2024 15:57:12 +0000 Subject: [PATCH] =?UTF-8?q?=E9=81=97=E6=BC=8FflowType=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: orange-form <3510245832@qq.com> --- .../com/orangeforms/common/flow/dto/FlowEntryDto.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/OrangeFormsOpen-MybatisPlus/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java b/OrangeFormsOpen-MybatisPlus/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java index 817ae003..350c9b2b 100644 --- a/OrangeFormsOpen-MybatisPlus/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java +++ b/OrangeFormsOpen-MybatisPlus/common/common-flow/src/main/java/com/orangeforms/common/flow/dto/FlowEntryDto.java @@ -5,6 +5,7 @@ import com.orangeforms.common.core.validator.ConstDictRef; import com.orangeforms.common.core.validator.UpdateGroup; import com.orangeforms.common.flow.model.constant.FlowBindFormType; import com.orangeforms.common.flow.model.constant.FlowEntryStatus; +import com.orangeforms.common.flow.model.constant.FlowEntryType; import lombok.Data; import jakarta.validation.constraints.NotBlank; @@ -75,6 +76,14 @@ public class FlowEntryDto { @NotNull(message = "数据验证失败,工作流绑定表单类型不能为空!") private Integer bindFormType; + /** + * 流程类型。 + */ + @Schema(description = "流程类型") + @ConstDictRef(constDictClass = FlowEntryType.class, message = "数据验证失败,工作流绑定表单类型为无效值!") + @NotNull(message = "数据验证失败,流程类型不能为空!") + private Integer flowType; + /** * 在线表单的页面Id。 */