Beispiel #1
0
        public Int32 Update(Plan obj)
        {
            PlanBO planBO = new PlanBO(obj);

            planDao.Update(planBO);
            return(obj.Id);
        }
Beispiel #2
0
        /// <summary>
        /// 修改一条批次信息
        /// </summary>
        /// <param name="plan">要修改的批次对象</param>
        /// <returns>成功返回Result.更新成功,失败返回Result.更新失败</returns>
        public Result Update(Plan plan)
        {
            int row = dao.Update(plan);

            if (row > 0)
            {
                return(Result.更新成功);
            }
            return(Result.更新失败);
        }
Beispiel #3
0
 public void UpdatePlan(Plan entity)
 {
     PlanDao.Update(entity);
 }
Beispiel #4
0
 public bool ActualizarPlan(Plan OplanSelected)
 {
     return(oPlanDao.Update(OplanSelected));
 }