遗漏flowType字段

Signed-off-by: orange-form <3510245832@qq.com>
This commit is contained in:
orange-form
2024-10-12 16:00:28 +00:00
committed by Gitee
parent c6bbe93df5
commit c34955f09f

View File

@@ -5,6 +5,7 @@ import com.orangeforms.common.core.validator.ConstDictRef;
import com.orangeforms.common.core.validator.UpdateGroup; import com.orangeforms.common.core.validator.UpdateGroup;
import com.orangeforms.common.flow.model.constant.FlowBindFormType; import com.orangeforms.common.flow.model.constant.FlowBindFormType;
import com.orangeforms.common.flow.model.constant.FlowEntryStatus; import com.orangeforms.common.flow.model.constant.FlowEntryStatus;
import com.orangeforms.common.flow.model.constant.FlowEntryType;
import lombok.Data; import lombok.Data;
import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotBlank;
@@ -75,6 +76,14 @@ public class FlowEntryDto {
@NotNull(message = "数据验证失败,工作流绑定表单类型不能为空!") @NotNull(message = "数据验证失败,工作流绑定表单类型不能为空!")
private Integer bindFormType; private Integer bindFormType;
/**
* 流程类型。
*/
@Schema(description = "流程类型")
@ConstDictRef(constDictClass = FlowEntryType.class, message = "数据验证失败,工作流绑定表单类型为无效值!")
@NotNull(message = "数据验证失败,流程类型不能为空!")
private Integer flowType;
/** /**
* 在线表单的页面Id。 * 在线表单的页面Id。
*/ */