diff --git a/erp/custom.go b/erp/custom.go index c52355c..f2a38c8 100644 --- a/erp/custom.go +++ b/erp/custom.go @@ -184,3 +184,18 @@ func (c *custom) Edit(ctx context.Context, args ArgsCustomEdit) (err error) { reply := 0 return xClient.Call(ctx, "Edit", args, &reply) } + +type ArgsCustomChangeStaff struct { + CustomId int64 + StaffId int64 +} + +// ChangeStaff @TITLE 更改业务员 +func (c *custom) ChangeStaff(ctx context.Context, args ArgsCustomChangeStaff) (err error) { + xClient, err := client2.GetClient(c) + if err != nil { + return + } + reply := 0 + return xClient.Call(ctx, "ChangeStaff", args, &reply) +} diff --git a/erp/product.go b/erp/product.go index 987544e..cd24fbc 100644 --- a/erp/product.go +++ b/erp/product.go @@ -24,6 +24,7 @@ type ProductSearch struct { Type string // 产品类型 Mold int64 // 组成方式 1=单件 2=套件 CreatedStaffIds []int64 // 录入人 + StaffIds []int64 // 录入人 CreatedDepartmentIds []int64 // 归属部门 BanFlag int64 // 禁用标记 1=禁用 2=可用 Name string // 中文品名