//获取公文级别类型名称 public List <string> GetDocGradeNameInfosToCombox() { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); List <string> GradeList = GradeBll.GetGradeNameInfos(); return(GradeList != null?GradeList.ToList() : null); }
public List <T_OA_GRADED> GetGradeInfosListBySearch(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, LoginUserInfo loginUserInfo) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); IQueryable <T_OA_GRADED> GradeList = GradeBll.GetGradeInfosListByTypeCompanyDepartmentSearch(pageIndex, pageSize, sort, filterString, paras, ref pageCount, loginUserInfo.userID); return(GradeList != null?GradeList.ToList() : null); }
//所有文档密级信息 public List <T_OA_GRADED> GetGradeInfos() { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); List <T_OA_GRADED> GradeInfosList = GradeBll.GetGradeInfos(); if (GradeInfosList == null) { return(null); } else { return(GradeInfosList); } }
//改 public void GradeInfoUpdate(T_OA_GRADED obj) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); GradeBll.UpdateGradeInfo(obj); }
//查单 public T_OA_GRADED GetGradeSingleInfoById(string StrGradeId) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return(GradeBll.GetGradeInfoById(StrGradeId)); }
private bool IsExistGradeInfo(string StrGrade) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return(GradeBll.GetGradeInfoByAdd(StrGrade)); }
//删 public bool GradeBatchDel(string[] StrGradeIDs) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return(GradeBll.BatchDeleteGradeInfos(StrGradeIDs)); }
//获取公文级别类型名称 public List<string> GetDocGradeNameInfosToCombox() { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); List<string> GradeList = GradeBll.GetGradeNameInfos(); return GradeList != null ? GradeList.ToList() : null; }
//增 public string GradeAdd(T_OA_GRADED obj) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return(GradeBll.AddGradeInfo(obj));; }
//所有文档密级信息 public List<T_OA_GRADED> GetGradeInfos() { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); List<T_OA_GRADED> GradeInfosList = GradeBll.GetGradeInfos(); if (GradeInfosList == null) { return null; } else { return GradeInfosList; } }
public List<T_OA_GRADED> GetGradeInfosListBySearch(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, LoginUserInfo loginUserInfo) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); IQueryable<T_OA_GRADED> GradeList = GradeBll.GetGradeInfosListByTypeCompanyDepartmentSearch(pageIndex, pageSize, sort, filterString, paras, ref pageCount, loginUserInfo.userID); return GradeList != null ? GradeList.ToList() : null; }
//查单 public T_OA_GRADED GetGradeSingleInfoById(string StrGradeId) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return GradeBll.GetGradeInfoById(StrGradeId); }
//删 public bool GradeBatchDel(string[] StrGradeIDs) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return GradeBll.BatchDeleteGradeInfos(StrGradeIDs); }
private bool IsExistGradeInfo(string StrGrade) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return GradeBll.GetGradeInfoByAdd(StrGrade); }
//增 public string GradeAdd(T_OA_GRADED obj) { BumfGradeManagementBll GradeBll = new BumfGradeManagementBll(); return GradeBll.AddGradeInfo (obj);; }