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 +}