/// <summary> /// 删除任务 /// </summary> /// <param name="taskId"></param> /// <returns></returns> public bool DeleteById(string taskId) { return(dal.UpdateTaskStatus(taskId, -1)); }