From 5a395d462e235cfd8edc74e75b4aa6907c0b89de Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 26 Mar 2026 10:06:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(expense):=20=E6=B7=BB=E5=8A=A0=E6=8A=A5?= =?UTF-8?q?=E9=94=80=E5=8D=95=E6=94=AF=E4=BB=98=E6=97=B6=E9=97=B4=E5=92=8C?= =?UTF-8?q?=E5=91=98=E5=B7=A5ID=E5=AD=97=E6=AE=B5=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在报销单结构体中新增PayAt支付时间字段 - 在报销单变更参数中新增StaffId员工ID字段 - 更新数据结构以支持更完整的报销流程信息 --- erp/expense.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erp/expense.go b/erp/expense.go index 9f28391..ba54986 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -50,6 +50,7 @@ type ExpenseItem struct { Remarks string `json:"remarks"` BankAccount string `json:"bankAccount"` BankName string `json:"bankName"` + PayAt *time.Time `json:"payAt"` Amount decimal.Decimal `json:"amount"` WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` @@ -150,6 +151,7 @@ func (r *expense) Edit(ctx context.Context, args ArgsExpenseEdit) (err error) { } type ArgsExpenseChange struct { + StaffId int64 // 员工id ExpenseIds []int64 // 报销单id ExpenseChangeItem }