This commit is contained in:
守护自己的云 2024-10-12 17:10:27 +08:00
parent 2717d71403
commit 2c977e19e3
2 changed files with 16 additions and 9 deletions

View File

@ -17,9 +17,10 @@ type ArgsWorkflowList struct {
} }
type WorkflowSearch struct { type WorkflowSearch struct {
BusinessId int64 // 业务id BusinessId int64 // 业务id
BusinessType string BusinessType string
Status AuditStatus Status AuditStatus
AuditStaffIds []int64 // 审核人
} }
type ReplyWorkflowList struct { type ReplyWorkflowList struct {
List []WorkflowItem List []WorkflowItem

View File

@ -44,12 +44,18 @@ type ReplyNodeList struct {
Total int64 `json:"total"` Total int64 `json:"total"`
} }
type NodeItem struct { type NodeItem struct {
Id int64 `json:"id"` Id int64 `json:"id"`
BusinessId int64 `json:"businessId"` BusinessId int64 `json:"businessId"`
BusinessName string `json:"businessName"` BusinessName string `json:"businessName"`
BusinessType string `json:"businessType"` BusinessType string `json:"businessType"`
Status int64 `json:"status"` Status int64 `json:"status"`
CreatedAt *time.Time `json:"createdAt"` Title string `json:"title"`
Content string `json:"content"`
ReviewComments string `json:"reviewComments"` // 审批意见
CreatedStaffId int64 `json:"createdStaffId"` // 创建人
CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"` // 更新时间
Data string `json:"data"`
} }
// List @TITLE 节点列表 // List @TITLE 节点列表