添加字段
This commit is contained in:
parent
dd2495342e
commit
970115d818
@ -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)
|
||||
}
|
||||
|
@ -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 // 中文品名
|
||||
|
Loading…
x
Reference in New Issue
Block a user