|
|
@ -163,8 +163,14 @@ func (s *supplier) InfoByRetailOrderSn(ctx context.Context, retailOrderSn string
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ReplyFindInfoByRetailOrderSn struct {
|
|
|
|
|
|
|
|
SupplierId uint
|
|
|
|
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
|
|
|
|
OrderSn string // 订单号
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// FindInfoByRetailOrderSn @Title 根据零售订单查询供应商信息
|
|
|
|
// FindInfoByRetailOrderSn @Title 根据零售订单查询供应商信息
|
|
|
|
func (s *supplier) FindInfoByRetailOrderSn(ctx context.Context, retailOrderSns []string) (reply []ReplySupplierInfo, err error) {
|
|
|
|
func (s *supplier) FindInfoByRetailOrderSn(ctx context.Context, retailOrderSns []string) (reply []ReplyFindInfoByRetailOrderSn, err error) {
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|