finance
黄伟 2 years ago
parent 281f96953f
commit 3fb66d388e

@ -151,3 +151,18 @@ func (s *supplier) UpdateWarn(ctx context.Context, args ArgsSupplierUpdateWarn)
reply := 0 reply := 0
return xClient.Call(ctx, "UpdateWarn", args, &reply) return xClient.Call(ctx, "UpdateWarn", args, &reply)
} }
type ReplySupplierItem struct {
Id uint `json:"id"`
Name string `json:"name"`
}
// Select @Title 筛选非禁用的供应商
func (s *supplier) Select(ctx context.Context, status uint) (reply []ReplyByIdItem, err error) {
xClient, err := client.GetClient(s)
if err != nil {
return nil, err
}
err = xClient.Call(ctx, "Select", status, &reply)
return
}

Loading…
Cancel
Save