finance
黄伟 2 years ago
parent 37673b589b
commit 1aecdb710a

@ -390,11 +390,11 @@ func (s *sku) FindByIds(ctx context.Context, ids []uint) (reply []ByIdsSkuItem,
} }
// AuthPut @Title 根据sourceSkuId查询供应链是否入库 true=入库 false=没有入库 // AuthPut @Title 根据sourceSkuId查询供应链是否入库 true=入库 false=没有入库
func (s *sku) AuthPut(ctx context.Context, sourceSkuId uint) (reply bool, err error) { func (s *sku) AuthPut(ctx context.Context, sourceSkuIds []uint) (reply bool) {
xClient, err := client.GetClient(s) xClient, err := client.GetClient(s)
if err != nil { if err != nil {
return false, err return false
} }
err = xClient.Call(ctx, "AuthPut", sourceSkuId, &reply) err = xClient.Call(ctx, "AuthPut", sourceSkuIds, &reply)
return return
} }

Loading…
Cancel
Save