添加字段

This commit is contained in:
守护自己的云 2025-04-10 13:32:34 +08:00
parent dd2495342e
commit 970115d818
2 changed files with 16 additions and 0 deletions

View File

@ -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)
}

View File

@ -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 // 中文品名