添加接口

finance
杨赟 2 years ago
parent b85ec24440
commit 9b0912fe96

@ -121,6 +121,16 @@ func (s *supplier) Info(ctx context.Context, supplierId uint) (reply ReplySuppli
return return
} }
// InfoByBatchOrderSn @Title 通过订单获取供应商信息
func (s *supplier) InfoByBatchOrderSn(ctx context.Context, batchOrderSn string) (reply ReplySupplierInfo, err error) {
xClient, err := client.GetClient(s)
if err != nil {
return ReplySupplierInfo{}, err
}
err = xClient.Call(ctx, "InfoByBatchOrderSn", batchOrderSn, &reply)
return
}
type ArgsSupplierEdit struct { type ArgsSupplierEdit struct {
SupplierId uint SupplierId uint
SupplierName string // 供应商名称 SupplierName string // 供应商名称

Loading…
Cancel
Save