From 439420270d27d835a056cd0f04863a89d7735e1a Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 26 Mar 2026 09:36:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(expense):=20=E6=B7=BB=E5=8A=A0=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Expense 结构体中添加 WorkflowUpdatedAt 字段用于记录工作流状态更新时间 - 该字段为可选的时间指针类型,便于追踪审批流程的时间节点 --- erp/expense.go | 1 + 1 file changed, 1 insertion(+) diff --git a/erp/expense.go b/erp/expense.go index 9740956..9f28391 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -54,6 +54,7 @@ type ExpenseItem struct { WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` + WorkflowUpdatedAt *time.Time `json:"workflowUpdatedAt"` ExpenseStaffId int64 `json:"expenseStaffId"` CreatedStaffId int64 `json:"createdStaffId"` BanFlag int64 `json:"banFlag"`