From 37673b589ba8aec6a92e5ade63977a72be2c5800 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 13 Oct 2022 11:20:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/sku.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/supply/sku.go b/supply/sku.go index 21607b4..f840f68 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -388,3 +388,13 @@ func (s *sku) FindByIds(ctx context.Context, ids []uint) (reply []ByIdsSkuItem, err = xClient.Call(ctx, "FindByIds", ids, &reply) return } + +// AuthPut @Title 根据sourceSkuId查询供应链是否入库 true=入库 false=没有入库 +func (s *sku) AuthPut(ctx context.Context, sourceSkuId uint) (reply bool, err error) { + xClient, err := client.GetClient(s) + if err != nil { + return false, err + } + err = xClient.Call(ctx, "AuthPut", sourceSkuId, &reply) + return +}