示例#1
0
        //获取公文级别类型名称
        public List <string> GetDocGradeNameInfosToCombox()
        {
            BumfGradeManagementBll GradeBll  = new BumfGradeManagementBll();
            List <string>          GradeList = GradeBll.GetGradeNameInfos();

            return(GradeList != null?GradeList.ToList() : null);
        }
示例#2
0
        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);
        }
示例#3
0
        //所有文档密级信息
        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);
            }
        }
示例#4
0
        //改
        public void GradeInfoUpdate(T_OA_GRADED obj)
        {
            BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();

            GradeBll.UpdateGradeInfo(obj);
        }
示例#5
0
        //查单
        public T_OA_GRADED GetGradeSingleInfoById(string StrGradeId)
        {
            BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();

            return(GradeBll.GetGradeInfoById(StrGradeId));
        }
示例#6
0
        private bool IsExistGradeInfo(string StrGrade)
        {
            BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();

            return(GradeBll.GetGradeInfoByAdd(StrGrade));
        }
示例#7
0
        //删
        public bool GradeBatchDel(string[] StrGradeIDs)
        {
            BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();

            return(GradeBll.BatchDeleteGradeInfos(StrGradeIDs));
        }
示例#8
0
 //获取公文级别类型名称        
 public List<string> GetDocGradeNameInfosToCombox()
 {
     BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();
     List<string> GradeList =  GradeBll.GetGradeNameInfos();
     return GradeList != null ? GradeList.ToList() : null;
 }
示例#9
0
        //增
        public string GradeAdd(T_OA_GRADED obj)
        {
            BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();

            return(GradeBll.AddGradeInfo(obj));;
        }
示例#10
0
        //所有文档密级信息
        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;
            }

        }
示例#11
0
        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;
        }
示例#12
0
 //查单
 public T_OA_GRADED GetGradeSingleInfoById(string StrGradeId)
 {
     BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();
     return GradeBll.GetGradeInfoById(StrGradeId);
 }
示例#13
0
 //改
 public void GradeInfoUpdate(T_OA_GRADED obj)
 {
     BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();
     GradeBll.UpdateGradeInfo(obj);
 }
示例#14
0
 //删
 public bool GradeBatchDel(string[] StrGradeIDs)
 {
     BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();
     return GradeBll.BatchDeleteGradeInfos(StrGradeIDs);
 }
示例#15
0
        private bool IsExistGradeInfo(string StrGrade)
        {
            BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();
            return GradeBll.GetGradeInfoByAdd(StrGrade);

        }
示例#16
0
 //增
 public string GradeAdd(T_OA_GRADED obj)
 {
     BumfGradeManagementBll GradeBll = new BumfGradeManagementBll();
     return GradeBll.AddGradeInfo (obj);;
 }