1. bpm 模块整合合并
This commit is contained in:
@@ -12,7 +12,7 @@ import lombok.ToString;
|
||||
@ToString(callSuper = true)
|
||||
public class BpmFormPageReqDTO extends PageParam {
|
||||
|
||||
@Schema(description = "表单名称", example = "芋道")
|
||||
@Schema(description = "表单名称", example = "ZT")
|
||||
private String name;
|
||||
|
||||
}
|
||||
@@ -12,7 +12,7 @@ public class BpmFormRespDTO {
|
||||
@Schema(description = "表单编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "表单名", example = "芋艿")
|
||||
@Schema(description = "表单名", example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "表单状态", example = "1")
|
||||
|
||||
@@ -11,7 +11,7 @@ public class BpmFormSaveReqDTO {
|
||||
@Schema(description = "表单编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "表单名", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
|
||||
@Schema(description = "表单名", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
|
||||
@NotEmpty(message = "表单名不能为空")
|
||||
private String name;
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@ public class BpmUserGroupRespDTO {
|
||||
@Schema(description = "编号", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "组名", example = "芋艿")
|
||||
@Schema(description = "组名", example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "描述", example = "芋艿")
|
||||
@Schema(description = "描述", example = "ZT")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "成员用户编号数组", example = "1,2,3")
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@FeignClient(name = ApiConstants.NAME) // TODO 芋艿:fallbackFactory =
|
||||
@FeignClient(name = ApiConstants.NAME) // TODO ZT:fallbackFactory =
|
||||
@Tag(name = "RPC 服务 - 流程实例")
|
||||
public interface BpmProcessInstanceApi {
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public class BpmApprovalDetailReqDTO {
|
||||
@Schema(description = "流程实例的编号", example = "1024")
|
||||
private String processInstanceId; // 使用场景:流程已发起时候传流程实例 ID
|
||||
|
||||
// TODO @芋艿:如果未来 BPMN 增加流程图,它没有发起人节点,会有问题。
|
||||
// TODO @ZT:如果未来 BPMN 增加流程图,它没有发起人节点,会有问题。
|
||||
@Schema(description = "流程活动编号", example = "StartUserNode")
|
||||
private String activityId; // 用于获取表单权限。1)发起流程时,传"发起人节点" activityId 可获取发起人的表单权限;2)从抄送列表界面进来时,传抄送的 activityId 可获取抄送人的表单权限;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ public class BpmProcessInstancePageReqDTO extends PageParam {
|
||||
@Schema(description = "流程实例的编号", example = "1024")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "流程实例的名字", example = "芋艿")
|
||||
@Schema(description = "流程实例的名字", example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "流程定义的编号", example = "2048")
|
||||
|
||||
@@ -16,7 +16,7 @@ public class BpmProcessInstanceRespDTO {
|
||||
@Schema(description = "流程实例的编号", example = "1024")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "流程实例的名字", example = "芋艿")
|
||||
@Schema(description = "流程实例的名字", example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "流程摘要")
|
||||
@@ -49,7 +49,7 @@ public class BpmProcessInstanceRespDTO {
|
||||
@Schema(description = "持续时间", example = "1000")
|
||||
private Long durationInMillis;
|
||||
|
||||
@Schema(description = "提交的表单值", example = "{\"name\": \"芋艿\"}")
|
||||
@Schema(description = "提交的表单值", example = "{\"name\": \"ZT\"}")
|
||||
private Map<String, Object> formVariables;
|
||||
|
||||
@Schema(description = "业务的唯一标识", example = "1")
|
||||
@@ -77,7 +77,7 @@ public class BpmProcessInstanceRespDTO {
|
||||
@Schema(description = "流程任务的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
|
||||
@Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "任务分配人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "2048")
|
||||
|
||||
@@ -13,7 +13,7 @@ import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH
|
||||
@Data
|
||||
public class BpmTaskPageReqDTO extends PageParam {
|
||||
|
||||
@Schema(description = "流程任务名", example = "芋艿")
|
||||
@Schema(description = "流程任务名", example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "流程定义的编号", example = "2048")
|
||||
|
||||
@@ -15,7 +15,7 @@ public class BpmTaskRespDTO {
|
||||
@Schema(description = "任务编号", example = "1024")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "任务名字", example = "芋艿")
|
||||
@Schema(description = "任务名字", example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "接收人的用户编号", example = "1")
|
||||
@@ -60,7 +60,7 @@ public class BpmTaskRespDTO {
|
||||
@Schema(description = "表单项的数组", example = "[]")
|
||||
private List<String> formFields;
|
||||
|
||||
@Schema(description = "提交的表单值", example = "{\"name\": \"芋艿\"}")
|
||||
@Schema(description = "提交的表单值", example = "{\"name\": \"ZT\"}")
|
||||
private Map<String, Object> formVariables;
|
||||
|
||||
@Schema(description = "任务负责人编号", example = "2048")
|
||||
@@ -103,7 +103,7 @@ public class BpmTaskRespDTO {
|
||||
@Schema(description = "流程实例编号", example = "1024")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "流程实例名称", example = "芋道")
|
||||
@Schema(description = "流程实例名称", example = "ZT")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "提交时间")
|
||||
|
||||
@@ -10,7 +10,7 @@ public class UserSimpleDTO {
|
||||
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
|
||||
@Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
|
||||
private String nickname;
|
||||
|
||||
@Schema(description = "用户头像", example = "https://www.iocoder.cn/1.png")
|
||||
|
||||
Reference in New Issue
Block a user