From e1ea9dba3841a5622abe95a0eb950553bcbcbcdd Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 24 Feb 2026 14:27:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(service):=20=E6=B7=BB=E5=8A=A0=E6=94=B6?= =?UTF-8?q?=E6=AC=BE=E6=A8=A1=E5=9D=97=E6=9D=83=E9=99=90=E5=91=98=E5=B7=A5?= =?UTF-8?q?ID=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在ReceivableSearch结构体中新增PermissionStaffIds字段 - 用于支持收款模块的权限控制功能 - 保持原有搜索字段不变,扩展权限过滤能力 --- erp/receivable.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/erp/receivable.go b/erp/receivable.go index b68180c..c3ecb9a 100644 --- a/erp/receivable.go +++ b/erp/receivable.go @@ -16,12 +16,13 @@ type ArgsReceivableList struct { Search ReceivableSearch } type ReceivableSearch struct { - ReceivableSerial string // 收款单据号 - CustomId int64 // 客户id - CustomName string // 客户名称 - InvoiceSerial string // 出运发票号 - CreatedAtStart *time.Time // 创建开始时间 - CreatedAtEnd *time.Time // 创建结束时间 + ReceivableSerial string // 收款单据号 + CustomId int64 // 客户id + CustomName string // 客户名称 + InvoiceSerial string // 出运发票号 + CreatedAtStart *time.Time // 创建开始时间 + CreatedAtEnd *time.Time // 创建结束时间 + PermissionStaffIds []int64 // 权限员工id } type ReplyReceivableList struct { List []ReceivableItem `json:"list"`