From dbc7f07a12d561e8558aad50c7f9c74b6a816534 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 4 Mar 2026 13:12:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E6=8A=A5?= =?UTF-8?q?=E9=94=80=E5=8D=95=E5=AE=A1=E6=A0=B8=E6=97=B6=E9=97=B4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增审核开始时间和审核结束时间字段用于时间范围筛选 - 添加审核状态字段支持工作流状态查询 - 增加创建人ID列表字段便于权限控制 - 添加ik3cloud状态字段用于系统集成标识 - 扩展查询条件以支持更灵活的报表统计需求 --- erp/expense.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erp/expense.go b/erp/expense.go index a18e55b..ae6d9c8 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -21,10 +21,15 @@ type ExpenseSearch struct { ExpenseSerial string // 报销单号 CreatedAtStart *time.Time // 创建开始时间 CreatedAtEnd *time.Time // 创建结束时间 + AuditAtStart *time.Time // 审核开始时间 + AuditAtEnd *time.Time // 审核结束时间 ExpenseIds []int64 // 报销单id BanFlag int64 // 禁用标记 1=禁用 2=启用 BankAccount string // 银行账号 BankName string // 账号名称 + WorkflowStatus int64 // 审核状态 + CreatedStaffIds []int64 // 创建人 + Ik3cloudStatus int64 // ik3cloud状态 PermissionStaffIds []int64 // 权限员工id } type ReplyExpenseList struct {