From 2c977e19e35ecf3ec867576f1d14a3db3f6d77d3 Mon Sep 17 00:00:00 2001 From: kanade Date: Sat, 12 Oct 2024 17:10:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp/workflow.go | 7 ++++--- erp/workflow/node.go | 18 ++++++++++++------ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/erp/workflow.go b/erp/workflow.go index 4c1a22b..e43bd32 100644 --- a/erp/workflow.go +++ b/erp/workflow.go @@ -17,9 +17,10 @@ type ArgsWorkflowList struct { } type WorkflowSearch struct { - BusinessId int64 // 业务id - BusinessType string - Status AuditStatus + BusinessId int64 // 业务id + BusinessType string + Status AuditStatus + AuditStaffIds []int64 // 审核人 } type ReplyWorkflowList struct { List []WorkflowItem diff --git a/erp/workflow/node.go b/erp/workflow/node.go index a0d7d33..7f54776 100644 --- a/erp/workflow/node.go +++ b/erp/workflow/node.go @@ -44,12 +44,18 @@ type ReplyNodeList struct { Total int64 `json:"total"` } type NodeItem struct { - Id int64 `json:"id"` - BusinessId int64 `json:"businessId"` - BusinessName string `json:"businessName"` - BusinessType string `json:"businessType"` - Status int64 `json:"status"` - CreatedAt *time.Time `json:"createdAt"` + Id int64 `json:"id"` + BusinessId int64 `json:"businessId"` + BusinessName string `json:"businessName"` + BusinessType string `json:"businessType"` + Status int64 `json:"status"` + 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 节点列表