From 4f56397820f43d17113fdaacc5f1ddc753951119 Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 14 May 2026 10:41:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E8=B4=B9?= =?UTF-8?q?=E7=94=A8=E6=8A=A5=E9=94=80=E5=8D=95=E5=AF=BC=E5=87=BA=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=92=8C=E5=91=98=E5=B7=A5ID=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在ERP常量中新增费用报销单导出类型Expense - 在OA员工服务中添加员工ID筛选字段StaffIds - 扩展员工列表查询功能支持按员工ID精确筛选 --- erp/constant.go | 1 + oa/staff.go | 1 + 2 files changed, 2 insertions(+) diff --git a/erp/constant.go b/erp/constant.go index dd9323e..0d74d15 100644 --- a/erp/constant.go +++ b/erp/constant.go @@ -71,6 +71,7 @@ const ( ExportTypeAccountingFactoryV2 = "accountingFactoryV2" // 做账工厂导出 ExportTypePaymentList = "paymentList" // 采购付款单 ExportTypeRequestList = "requestList" // 费用申请单 + ExportTypeExpense = "expense" // 费用报销单 ) type BanFlag = int64 // 出舱状态 diff --git a/oa/staff.go b/oa/staff.go index 7f5fdc2..5c40b41 100644 --- a/oa/staff.go +++ b/oa/staff.go @@ -120,6 +120,7 @@ type StaffSearch struct { DepartmentIds []int64 // 部门筛选 DepartmentStaffIds []int64 // 部门员工id RoleIds []int64 // 角色筛选 + StaffIds []int64 // 员工id } type ReplyStaffList struct { List []StaffItem `json:"list"` // 员工列表