/// <summary> /// 更新单个商品价格状态 /// </summary> /// <param name="priceSysNo">商品价格系统编号</param> /// <param name="status">商品状态</param> /// <returns>是否更新成功</returns> /// <remarks>2013-06-17 杨晗 创建</remarks> public override bool UpdatePriceStatus(int priceSysNo, ProductStatus.产品价格状态 status) { return(Context.Sql("update pdprice set status = @0 where sysno=@1", (int)status, priceSysNo).Execute() > 0); }
/// <summary> /// 更新单个商品价格状态 /// </summary> /// <param name="priceSysNo">商品价格系统编号</param> /// <param name="status">商品状态</param> /// <returns>成功 true 失败 false</returns> /// <remarks>2013-06-17 杨晗 创建</remarks> public abstract bool UpdatePriceStatus(int priceSysNo, ProductStatus.产品价格状态 status);