/// <summary> /// 修改 /// </summary> /// <param name="model">规格信息</param> /// <returns>修改数</returns> /// 吴琨 2017-9-1 public override int UpdPdProductSpec(PdProductSpec model) { return(Context.Update("PdProductSpec") .Column("SpecValues", model.SpecValues) .Where("ProductSysNo", model.ProductSysNo) .Execute()); }
/// <summary> /// 同步添加到B2B平台 /// </summary> /// <param name="model">规格信息</param> /// <returns>罗勤瑶 2017-10-11</returns> public override int AddPdProductSpecToB2B(PdProductSpec model) { return(ContextB2B.Insert("PdProductSpec") .Column("ProductSysNo", model.ProductSysNo) .Column("SpecValues", model.SpecValues) .Execute()); }
/// <summary> /// 修改 /// </summary> /// <param name="model">规格信息</param> /// <returns>吴琨 2017-9-1</returns> public int UpdPdProductSpec(PdProductSpec model) { return(IPdProductSpecDao.Instance.UpdPdProductSpec(model)); }
/// <summary> /// 同步添加到B2B平台 /// </summary> /// <param name="model">规格信息</param> /// <returns>罗勤瑶 2017-10-11</returns> public int AddPdProductSpecToB2B(PdProductSpec model) { return(IPdProductSpecDao.Instance.AddPdProductSpecToB2B(model)); }
/// <summary> /// 修改 /// </summary> /// <param name="model">规格信息</param> /// <returns>吴琨 2017-9-1</returns> public abstract int UpdPdProductSpec(PdProductSpec model);
/// <summary> /// 同步添加到B2B平台 /// </summary> /// <param name="model">规格信息</param> /// <returns>罗勤瑶 2017-10-11</returns> public abstract int AddPdProductSpecToB2B(PdProductSpec model);