Пример #1
0
 /// <summary>
 /// 更新软件分类状态
 /// </summary>
 /// <param name="status">状态</param>
 /// <param name="sysNo">软件分类编号</param>
 /// <returns>更新行数</returns>
 /// <remarks>2014-01-16 唐永勤 创建</remarks>
 public int UpdateStatus(Hyt.Model.WorkflowStatus.ForeStatus.软件分类状态 status, int sysNo)
 {
     return(IFeSoftCategoryDao.Instance.UpdateStatus(status, sysNo));
 }
Пример #2
0
 /// <summary>
 /// 更新软件分类状态
 /// </summary>
 /// <param name="status">状态</param>
 /// <param name="sysNo">分类编号</param>
 /// <returns>更新行数</returns>
 /// <remarks>2014-01-15 唐永勤 创建</remarks>
 public abstract int UpdateStatus(Hyt.Model.WorkflowStatus.ForeStatus.软件分类状态 status, int sysNo);
Пример #3
0
        /// <summary>
        /// 更新软件分类状态
        /// </summary>
        /// <param name="status">状态</param>
        /// <param name="sysno">分类编号</param>
        /// <returns>更新行数</returns>
        /// <remarks>2014-01-15 唐永勤 创建</remarks>
        public override int UpdateStatus(Hyt.Model.WorkflowStatus.ForeStatus.软件分类状态 status, int sysno)
        {
            string Sql = string.Format("update FeSoftCategory set Status = {0} where SysNo = {1}", (int)status, sysno);

            return(Context.Sql(Sql).Execute());
        }