点击或拖拽改变大小

OrderOperateAggregateUpdateGoodsStocks 方法

更新商品库存

命名空间:  Project.Aggregate
程序集:  Project.Aggregate (在 Project.Aggregate.dll 中) 版本:1.1.0.0 (1.1.0.0)
语法
public static List<string> UpdateGoodsStocks(
	List<string> SQLStringList,
	int stock,
	ref int oldsku_stock,
	ref int oldspu_stock,
	string stock_type,
	string goods_spu,
	string goods_sku
)

参数

SQLStringList
类型:System.Collections.GenericListString

[缺少 "M:Project.Aggregate.OrderOperateAggregate.UpdateGoodsStocks(System.Collections.Generic.List{System.String},System.Int32,System.Int32@,System.Int32@,System.String,System.String,System.String)" 的 <param name="SQLStringList"/> 文档]

stock
类型:SystemInt32
操作库存
oldsku_stock
类型:SystemInt32

[缺少 "M:Project.Aggregate.OrderOperateAggregate.UpdateGoodsStocks(System.Collections.Generic.List{System.String},System.Int32,System.Int32@,System.Int32@,System.String,System.String,System.String)" 的 <param name="oldsku_stock"/> 文档]

oldspu_stock
类型:SystemInt32

[缺少 "M:Project.Aggregate.OrderOperateAggregate.UpdateGoodsStocks(System.Collections.Generic.List{System.String},System.Int32,System.Int32@,System.Int32@,System.String,System.String,System.String)" 的 <param name="oldspu_stock"/> 文档]

stock_type
类型:SystemString
2减库存 1加库存
goods_spu
类型:SystemString
spu
goods_sku
类型:SystemString
sku

返回值

类型:ListString

[缺少 "M:Project.Aggregate.OrderOperateAggregate.UpdateGoodsStocks(System.Collections.Generic.List{System.String},System.Int32,System.Int32@,System.Int32@,System.String,System.String,System.String)" 的 <returns> 文档]

参见