/// <summary> /// 变更任务状态 /// </summary> /// <param name="id"></param> /// <param name="status"></param> /// <returns></returns> public static int UpdateTaskStatus(int id, int status) { TasksDAL dal = new TasksDAL(); int res = dal.UpdateTaskStatus(id, status); return(res); }