|
|
|
@ -121,6 +121,16 @@ func (s *supplier) Info(ctx context.Context, supplierId uint) (reply ReplySuppli
|
|
|
|
|
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 {
|
|
|
|
|
SupplierId uint
|
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
|