finance
黄伟 2 years ago
parent 812124d025
commit 37673b589b

@ -388,3 +388,13 @@ func (s *sku) FindByIds(ctx context.Context, ids []uint) (reply []ByIdsSkuItem,
err = xClient.Call(ctx, "FindByIds", ids, &reply) err = xClient.Call(ctx, "FindByIds", ids, &reply)
return 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
}

Loading…
Cancel
Save