/// <summary> /// 获取开发任务列表 1.依据状态列表查询 2.依据函数名称查询 /// </summary> /// <param name="dto">状态列表</param> /// <returns></returns> public List <ItilDevelopModuleManageModel> GetDevelopModuleManageListBy(ItilDto dto) { List <ItilDevelopModuleManageModel> itilList = new List <ItilDevelopModuleManageModel>(); if (dto == null) { return(itilList); } switch (dto.SearchMode) { case 1: if (dto.ProgressSignList != null) { itilList = irep.Entities.Where(m => dto.ProgressSignList.Contains(m.CurrentProgress)).ToList(); } break; case 2: if (!dto.FunctionName.IsNullOrEmpty()) { itilList = irep.Entities.Where(m => m.MFunctionName == dto.FunctionName).ToList(); } break; } return(itilList); }
/// <summary> /// 获取开发任务列表 1.依据状态列表查询 2.依据函数名称查询 /// </summary> /// <param name="dto">进度标识列表</param> /// <returns></returns> public List <ItilDevelopModuleManageModel> GetDevelopModuleManageListBy(ItilDto dto) { return(ItilCrudFactory.ItilDevelopModuleManageCrud.GetDevelopModuleManageListBy(dto)); }