コード例 #1
0
        /// <summary>
        /// 更新费用
        /// </summary>
        /// <param name="model">费用明细</param>
        /// <returns>返回受影响行</returns>
        public override int UpdateExpenses(Model.SoOrderOtherExpenses model)
        {
            var r = Context.Update("SoOrderOtherExpenses", model)
                    .AutoMap(o => o.OrderSysNo)
                    .Where("OrderSysNo", model.OrderSysNo).Execute();

            return(r);
        }
コード例 #2
0
 /// <summary>
 /// 更新费用
 /// </summary>
 /// <param name="model">费用明细</param>
 /// <returns>返回受影响行</returns>
 public int UpdateExpenses(Model.SoOrderOtherExpenses model)
 {
     return(DataAccess.Order.ISoSoOrderOtherExpensesDao.Instance.UpdateExpenses(model));
 }
コード例 #3
0
 /// <summary>
 /// 更新广告组
 /// </summary>
 /// <param name="model">广告组明细</param>
 /// <returns>返回受影响行</returns>
 /// <remarks>2013-06-17 苟治国 创建</remarks>
 public abstract int UpdateExpenses(Model.SoOrderOtherExpenses model);