示例#1
0
        public MResultModel GetUserInfoByWhere(string UserName, string TrueName, int PageIndex, int PageSize)
        {
            MPagingModel  pageM = new MPagingModel(PageIndex, PageSize);
            List <V_User> listM = _bll.GetUserInfoByWhere(UserName, TrueName, pageM);

            return(MResultPagingModel <List <V_User> > .GetSuccessResultM(listM, pageM, "查询成功"));
        }
示例#2
0
        public MResultModel GetUserInfoByWhere(string UserName, string Mobile, string WeChatWorkUserID, string Email, string TrueName, string NickName, bool?IfEnable, int PageIndex, int PageSize)
        {
            MPagingModel  pageM = new MPagingModel(PageIndex, PageSize);
            List <V_User> listM = _bll.GetUserInfoByWhere(UserName, Mobile, WeChatWorkUserID, Email, TrueName, NickName, IfEnable, pageM);

            return(MResultPagingModel <List <V_User> > .GetSuccessResultM(listM, pageM, "查询成功"));
        }
        public MResultModel GetUserGroupInfoByWhere(string Name, string Code, bool?IfEnable, int PageIndex, int PageSize)
        {
            MPagingModel       pageM = new MPagingModel(PageIndex, PageSize);
            List <V_UserGroup> listM = _bll.GetUserGroupInfoByWhere(Name, Code, IfEnable, pageM);

            return(MResultPagingModel <List <V_UserGroup> > .GetSuccessResultM(listM, pageM, "查询成功"));
        }
示例#4
0
        public MResultModel GetPaperInfoByWhere(string Title, bool?IsEnable, int PageIndex, int PageSize)
        {
            MResultModel   resM;
            MPagingModel   pageM = new MPagingModel(PageIndex, PageSize);
            List <V_Paper> listM = _paperBLL.GetPaperInfoByWhere(Title, IsEnable, pageM);

            resM = MResultPagingModel <List <V_Paper> > .GetSuccessResultM(listM, pageM, "查询成功");

            return(resM);
        }
示例#5
0
        public MResultModel GetAllUserInfo(int PageIndex, int PageSize)
        {
            MResultModel  resM;
            MPagingModel  pageM = new MPagingModel(PageIndex, PageSize);
            List <V_User> listM = _userBLL.GetAllUserViewInfo(pageM);

            resM = MResultPagingModel <List <V_User> > .GetSuccessResultM(listM, pageM, "查询成功");

            return(resM);
        }