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