/// <summary> /// 物码缴费 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseEnterpriseApply> GetTagAuditPage(PageParamList <RequestEnterpriseApply> pageParam) { IQueryable <EnterpriseTagApply> queryable = Kily.Set <EnterpriseTagApply>().Where(t => t.IsDelete == false); IQueryable <EnterpriseInfo> queryables = Kily.Set <EnterpriseInfo>(); if (!string.IsNullOrEmpty(pageParam.QueryParam.AreaTree)) { queryables = queryables.Where(t => t.TypePath.Contains(pageParam.QueryParam.AreaTree)); } if (!string.IsNullOrEmpty(pageParam.QueryParam.BatchNo)) { queryable = queryable.Where(t => t.BatchNo.Contains(pageParam.QueryParam.BatchNo)); } var data = queryable.Join(queryables, t => t.CompanyId, y => y.Id, (t, y) => new ResponseEnterpriseApply() { Id = t.Id, BatchNo = t.BatchNo, TagTypeName = AttrExtension.GetSingleDescription <TagEnum, DescriptionAttribute>(t.TagType), ApplyNum = t.ApplyNum, ApplyMoney = t.ApplyMoney, Payment = t.Payment, IsPay = t.IsPay, PaytTicket = t.PaytTicket, AuditTypeName = AttrExtension.GetSingleDescription <AuditEnum, DescriptionAttribute>(t.AuditType), TableName = t.GetType().Name }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 加盟缴费分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseAdminAttach> GetJoinPayPage(PageParamList <RequestAdminAttach> pageParam) { IQueryable <SystemAdminAttach> AdminAttach = Kily.Set <SystemAdminAttach>(); IQueryable <SystemAdmin> Admin = Kily.Set <SystemAdmin>(); if (!string.IsNullOrEmpty(pageParam.QueryParam.Account)) { Admin = Admin.Where(t => t.Account.Equals(pageParam.QueryParam.Account)); } var data = Admin.OrderBy(t => t.CreateTime).GroupJoin(AdminAttach, t => t.Id, x => x.AdminId, (t, x) => new ResponseAdminAttach() { AdminId = t.Id, CompanyName = t.CompanyName, TrueName = t.TrueName, AccountType = t.AccountType, AccountTypeName = AttrExtension.GetSingleDescription <AccountEnum, DescriptionAttribute>(t.AccountType), IdCard = t.IdCard, Phone = t.Phone, Email = t.Email, StartTime = x.FirstOrDefault().StartTime, EndTime = x.FirstOrDefault().EndTime, IsPay = x.FirstOrDefault().IsPay, Money = x.FirstOrDefault().Money, PayUser = x.FirstOrDefault().PayUser, IsDelete = t.IsDelete }).AsNoTracking().ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 企业认证 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseEnterpriseIdent> IdentEnterprisePay(PageParamList <RequestEnterpriseIdent> pageParam) { IQueryable <EnterpriseIdent> queryable = Kily.Set <EnterpriseIdent>().Where(t => t.IsDelete == false); queryable = queryable.Where(t => t.AuditType >= AuditEnum.AuditSuccess); if (!string.IsNullOrEmpty(pageParam.QueryParam.CompanyName)) { queryable = queryable.Where(t => t.CompanyName.Contains(pageParam.QueryParam.CompanyName)); } var data = queryable.OrderByDescending(t => t.CreateTime) .Select(x => new ResponseEnterpriseIdent() { Id = x.Id, IdentNo = x.IdentNo, CompanyName = x.CompanyName, IdentStarName = AttrExtension.GetSingleDescription <IdentEnum, DescriptionAttribute>(x.IdentStar), LinkPhone = x.LinkPhone, AuditTypeName = AttrExtension.GetSingleDescription <AuditEnum, DescriptionAttribute>(x.AuditType), TableName = x.GetType().Name, IdentStartTime = x.IdentStartTime, IdentEndTime = x.IdentEndTime }).AsNoTracking().ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 厨师信息 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseCookInfo> GetCookInfoPage(PageParamList <RequestCookInfo> pageParam) { IQueryable <CookInfo> queryable = Kily.Set <CookInfo>().OrderByDescending(t => t.CreateTime); if (!string.IsNullOrEmpty(pageParam.QueryParam.AreaTree)) { queryable = queryable.Where(t => t.TypePath.Contains(pageParam.QueryParam.AreaTree)); } if (UserInfo().AccountType == AccountEnum.Province) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Province)); } if (UserInfo().AccountType == AccountEnum.City) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().City)); } if (UserInfo().AccountType == AccountEnum.Area) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Area)); } if (UserInfo().AccountType == AccountEnum.Village) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Town)); } var data = queryable.Select(t => new ResponseCookInfo() { Id = t.Id, TrueName = t.TrueName, IdCardNo = t.IdCardNo, AuditTypeName = AttrExtension.GetSingleDescription <DescriptionAttribute>(t.AuditType), TableName = t.GetType().Name }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 商家认证分页列表 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseRepastIdent> GetDiningIdentPage(PageParamList <RequestRepastIdent> pageParam) { IQueryable <RepastIdent> queryable = Kily.Set <RepastIdent>().Where(t => t.IsDelete == false); IQueryable <RepastInfo> queryables = Kily.Set <RepastInfo>().Where(t => t.IsDelete == false); if (pageParam.QueryParam.DiningType.HasValue) { queryable = queryable.Where(t => t.DiningType == pageParam.QueryParam.DiningType); } if (!string.IsNullOrEmpty(pageParam.QueryParam.MerchantName)) { queryable = queryable.Where(t => t.MerchantName.Contains(pageParam.QueryParam.MerchantName)); } if (!string.IsNullOrEmpty(pageParam.QueryParam.AreaTree)) { queryables = queryables.Where(t => t.TypePath.Contains(pageParam.QueryParam.AreaTree)); } if (UserInfo().AccountType == AccountEnum.Province) { queryables = queryables.Where(t => t.TypePath.Contains(UserInfo().Province)); } if (UserInfo().AccountType == AccountEnum.City) { queryables = queryables.Where(t => t.TypePath.Contains(UserInfo().City)); } if (UserInfo().AccountType == AccountEnum.Area) { queryables = queryables.Where(t => t.TypePath.Contains(UserInfo().Area)); } if (UserInfo().AccountType == AccountEnum.Village) { queryables = queryables.Where(t => t.TypePath.Contains(UserInfo().Town)); } var data = queryables.Join(queryable, a => a.Id, t => t.InfoId, (a, t) => new ResponseRepastIdent() { Id = t.Id, MerchantName = t.MerchantName, IdentStarName = AttrExtension.GetSingleDescription <IdentEnum, DescriptionAttribute>(t.IdentStar), AuditTypeName = AttrExtension.GetSingleDescription <AuditEnum, DescriptionAttribute>(t.AuditType), DiningTypeName = AttrExtension.GetSingleDescription <MerchantEnum, DescriptionAttribute>(t.DiningType), IdentYear = t.IdentYear, TableName = t.GetType().Name, AuditType = t.AuditType, AuditInfo = Kily.Set <SystemAudit>() .Where(x => x.IsDelete == false) .Where(x => x.TableId == t.Id).ToList().MapToList <SystemAudit, ResponseAudit>() }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 商家分页列表 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseMerchant> GetMerchantPage(PageParamList <RequestMerchant> pageParam) { IQueryable <RepastInfo> queryable = Kily.Set <RepastInfo>().Where(t => t.IsDelete == false); if (!string.IsNullOrEmpty(pageParam.QueryParam.MerchantName)) { queryable = queryable.Where(t => t.MerchantName.Contains(pageParam.QueryParam.MerchantName)); } if (!string.IsNullOrEmpty(pageParam.QueryParam.AreaTree)) { queryable = queryable.Where(t => t.TypePath.Contains(pageParam.QueryParam.AreaTree)); } if (UserInfo().AccountType == AccountEnum.Province) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Province)); } if (UserInfo().AccountType == AccountEnum.City) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().City)); } if (UserInfo().AccountType == AccountEnum.Area) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Area)); } if (UserInfo().AccountType == AccountEnum.Village) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Town)); } if (pageParam.QueryParam.AuditType.HasValue) { queryable = queryable.Where(t => t.AuditType == pageParam.QueryParam.AuditType.Value); } var data = queryable.OrderByDescending(t => t.CreateTime).Select(t => new ResponseMerchant() { Id = t.Id, CommunityCode = t.CommunityCode, Account = t.Account, PassWord = t.PassWord, MerchantName = t.MerchantName, DiningTypeName = AttrExtension.GetSingleDescription <MerchantEnum, DescriptionAttribute>(t.DiningType), DingRoleId = t.DingRoleId, Phone = t.Phone, Email = t.Email, TypePath = t.TypePath, InviteCode = t.InviteCode ?? "-", TableName = t.GetType().Name }).AsNoTracking().ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 账号分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseCookInfo> GetCookVipPage(PageParamList <RequestCookInfo> pageParam) { var data = Kily.Set <CookVip>().Where(t => t.Id == CookInfo().Id).Select(t => new ResponseCookInfo() { Id = t.Id, Account = t.Account, IsVip = t.IsVip, StartTime = t.StartTime, EndTime = t.EndTime, Phone = t.Phone, Photo = t.Photo, }).AsNoTracking().ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
public ObjectResultEx GetProductPage(PageParamList <RequestEnterpriseGoods> pageParam) { if (string.IsNullOrEmpty(pageParam.QueryParam.ProductType))//默认食品 { pageParam.QueryParam.ProductType = "食品"; } if (pageParam.QueryParam.ProductType == "食品" || pageParam.QueryParam.ProductType == "农产品") { return(ObjectResultEx.Instance(GovtWebService.GetEdiblePage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); } else { return(ObjectResultEx.Instance(GovtWebService.GetWorkPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); } }
/// <summary> /// 角色分页列表 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseRepastRoleAuthor> GetRoleAuthorPage(PageParamList <RequestRepastRoleAuthor> pageParam) { IQueryable <RepastRoleAuthor> queryable = Kily.Set <RepastRoleAuthor>(); if (!string.IsNullOrEmpty(pageParam.QueryParam.AuthorName)) { queryable = queryable.Where(t => t.AuthorName.Contains(pageParam.QueryParam.AuthorName)); } var data = queryable.OrderByDescending(t => t.CreateTime).Select(t => new ResponseRepastRoleAuthor() { Id = t.Id, MerchantRoleName = t.AuthorName, AuthorMenuPath = t.AuthorMenuPath }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 权限分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseGovtRoleAuthor> GetAuthorPage(PageParamList <RequestGovtRoleAuthor> pageParam) { IQueryable <GovtRoleAuthor> queryable = Kily.Set <GovtRoleAuthor>().Where(t => t.IsDelete == false); if (!string.IsNullOrEmpty(pageParam.QueryParam.AuthorName)) { queryable = queryable.Where(t => t.AuthorName.Contains(pageParam.QueryParam.AuthorName)); } var data = queryable.AsNoTracking().Select(t => new ResponseGovtRoleAuthor() { Id = t.Id, AuthorName = t.AuthorName, AuthorMenuPath = t.AuthorMenuPath }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 菜单分页列表 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseRepastMenu> GetDiningMenuPage(PageParamList <RequestRepastMenu> pageParam) { IQueryable <RepastMenu> queryable = Kily.Set <RepastMenu>().Where(t => t.IsDelete == false).AsQueryable(); if (!string.IsNullOrEmpty(pageParam.QueryParam.MenuName)) { queryable = queryable.Where(t => t.MenuName.Contains(pageParam.QueryParam.MenuName)); } var data = queryable.OrderByDescending(t => t.CreateTime).Select(t => new ResponseRepastMenu() { Id = t.Id, MenuId = t.MenuId, ParentId = t.ParentId, MenuAddress = t.MenuAddress, MenuName = t.MenuName, }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 报备列表 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseCookBanquet> GetBanquetPage(PageParamList <RequestCookBanquet> pageParam) { IQueryable <CookBanquet> queryable = Kily.Set <CookBanquet>().Where(t => t.CookId == CookInfo().Id).OrderByDescending(t => t.CreateTime); if (!string.IsNullOrEmpty(pageParam.QueryParam.HoldName)) { queryable = queryable.Where(t => t.HoldName.Contains(pageParam.QueryParam.HoldName)); } var data = queryable.Select(t => new ResponseCookBanquet() { Id = t.Id, HoldTime = t.HoldTime, CreateTime = t.CreateTime, HoldName = t.HoldName, Address = t.Address, Stauts = t.Stauts }).AsNoTracking().ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 帮厨分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseCookHelper> GetHelperPage(PageParamList <RequestCookHelper> pageParam) { IQueryable <CookHelper> queryable = Kily.Set <CookHelper>().Where(t => t.CookId == CookInfo().Id).OrderByDescending(t => t.CreateTime); if (!string.IsNullOrEmpty(pageParam.QueryParam.HelperName)) { queryable = queryable.Where(t => t.HelperName.Contains(pageParam.QueryParam.HelperName)); } var data = queryable.Select(t => new ResponseCookHelper() { Id = t.Id, HelperName = t.HelperName, TypePath = t.TypePath, ExpiredDate = t.ExpiredDate, HealthCard = t.HealthCard, Phone = t.Phone }).AsNoTracking().ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 角色权限列表分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseRepastRoleAuthor> GetMerchantAuthorPage(PageParamList <RequestRepastRoleAuthor> pageParam) { IQueryable <RepastRoleAuthor> queryable = Kily.Set <RepastRoleAuthor>(); IQueryable <RepastInfo> queryables = Kily.Set <RepastInfo>().Where(t => t.IsDelete == false); if (!string.IsNullOrEmpty(pageParam.QueryParam.MerchantName)) { queryables = queryables.Where(t => t.MerchantName.Contains(pageParam.QueryParam.MerchantName)); } var data = queryables.OrderBy(t => t.CreateTime).GroupJoin(queryable, t => t.DingRoleId, x => x.Id, (t, x) => new ResponseRepastRoleAuthor() { Id = t.Id, RepastRoleId = x.FirstOrDefault().Id, MerchantName = t.MerchantName, MerchantRoleName = x.FirstOrDefault().AuthorName, MerchantTypeName = AttrExtension.GetSingleDescription <MerchantEnum, DescriptionAttribute>(t.DiningType), AuthorMenuPath = x.FirstOrDefault().AuthorMenuPath }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 账号分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseGovtInfo> GetInfoPage(PageParamList <RequestGovtInfo> pageParam) { IQueryable <GovtInfo> queryable = Kily.Set <GovtInfo>().Where(t => t.IsDelete == false); if (!string.IsNullOrEmpty(pageParam.QueryParam.DepartName)) { queryable = queryable.Where(t => t.DepartName.Contains(pageParam.QueryParam.DepartName)); } if (UserInfo().AccountType > AccountEnum.Country) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Province) || t.TypePath.Contains(UserInfo().City) || t.TypePath.Contains(UserInfo().Area)); } var data = queryable.OrderByDescending(t => t.CreateTime).Select(t => new ResponseGovtInfo() { Id = t.Id, DepartName = t.DepartName, Account = t.Account, AccountTypeName = AttrExtension.GetSingleDescription <GovtAccountEnum, DescriptionAttribute>(t.AccountType), TrueName = t.TrueName, Phone = t.Phone, Email = t.Email, TypePath = t.TypePath }).ToList(); data.ForEach(t => { t.TableName = Kily.Set <SystemProvince>() .Where(x => x.Id.ToString() == t.Province) .Select(x => x.Name).AsNoTracking().FirstOrDefault() + "," + Kily.Set <SystemCity>() .Where(x => x.Id.ToString() == t.City) .Select(x => x.Name).AsNoTracking().FirstOrDefault() + "," + Kily.Set <SystemArea>() .Where(x => x.Id.ToString() == t.Area) .Select(x => x.Name).AsNoTracking().FirstOrDefault(); }); return(data.ToPagedResult(pageParam.pageNumber, pageParam.pageSize)); }
/// <summary> /// 厨师开通的服务分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseCookInfo> GetCookServicePage(PageParamList <RequestCookInfo> pageParam) { IQueryable <CookInfo> queryable = Kily.Set <CookInfo>().OrderByDescending(t => t.CreateTime); IQueryable <CookVip> queryables = Kily.Set <CookVip>().OrderByDescending(t => t.CreateTime); if (!string.IsNullOrEmpty(pageParam.QueryParam.AreaTree)) { queryable = queryable.Where(t => t.TypePath.Contains(pageParam.QueryParam.AreaTree)); } if (UserInfo().AccountType == AccountEnum.Province) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Province)); } if (UserInfo().AccountType == AccountEnum.City) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().City)); } if (UserInfo().AccountType == AccountEnum.Area) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Area)); } if (UserInfo().AccountType == AccountEnum.Village) { queryable = queryable.Where(t => t.TypePath.Contains(UserInfo().Town)); } var data = queryable.Join(queryables, t => t.CookId, x => x.Id, (t, x) => new ResponseCookInfo() { Id = x.Id, Phone = x.Phone, IsVip = x.IsVip, StartTime = x.StartTime, EndTime = x.EndTime, TrueName = t.TrueName, IdCardNo = t.IdCardNo, IsEnable = x.IsDelete }).ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
/// <summary> /// 食材分页 /// </summary> /// <param name="pageParam"></param> /// <returns></returns> public PagedResult <ResponseCookFood> GetFoodPage(PageParamList <RequestCookFood> pageParam) { IQueryable <CookFood> queryable = Kily.Set <CookFood>().Where(t => t.CookId == CookInfo().Id).OrderByDescending(t => t.CreateTime); if (!string.IsNullOrEmpty(pageParam.QueryParam.FoodName)) { queryable = queryable.Where(t => t.FoodName.Contains(pageParam.QueryParam.FoodName)); } var data = queryable.Select(t => new ResponseCookFood() { Id = t.Id, FoodType = t.FoodType, FoodName = t.FoodName, Number = t.Number, Supplier = t.Supplier, ProductionAddress = t.ProductionAddress, BuyTime = t.BuyTime, Report = t.Report, BuyUser = t.BuyUser, Phone = t.Phone }).AsNoTracking().ToPagedResult(pageParam.pageNumber, pageParam.pageSize); return(data); }
public ObjectResultEx GetAreaDicPage(PageParamList <RequestAreaDictionary> pageParam) { return(ObjectResultEx.Instance(FunctionService.GetAreaDicPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx WatchRolePage(PageParamList <RequestEnterpriseRoleAuthor> pageParam) { return(ObjectResultEx.Instance(EnterpriseService.WatchRolePage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetTagToCompanyPage(PageParamList <RequestVeinTag> pageParam) { return(ObjectResultEx.Instance(FunctionService.GetTagToCompanyPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetMsgPage(PageParamList <Object> pageParam) { return(ObjectResultEx.Instance(FunctionService.GetMsgPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetTrainNoticePage(PageParamList <RequestGovtTrainNotice> pageParam) { return(ObjectResultEx.Instance(GovtWebService.GetTrainNoticePage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetWaitAuditGoodPage(PageParamList <RequestEnterpriseGoodsStock> pageParam) { return(ObjectResultEx.Instance(EnterpriseService.GetWaitAuditGoodPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetWarnList(PageParamList <RequestGovtRiskCompany> pageParam) { return(ObjectResultEx.Instance(GovtWebService.GetWarnList(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetCategoryAttachPage(PageParamList <RequestGovtPatrolCategoryAttach> pageParam) { return(ObjectResultEx.Instance(GovtWebService.GetCategoryAttachPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetBanquetPage(PageParamList <RequestCookBanquet> pageParam) { return(ObjectResultEx.Instance(GovtWebService.GetBanquetPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetEdiblePage(PageParamList <RequestEnterpriseGoods> pageParam) { return(ObjectResultEx.Instance(GovtWebService.GetEdiblePage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetHandlerLogPage(PageParamList <RequestSystemLogInfo> pageParam) { return(ObjectResultEx.Instance(GovtWebService.GetHandlerLogPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetAuthorPage(PageParamList <RequestGovtRoleAuthor> pageParam) { return(ObjectResultEx.Instance(GovtService.GetAuthorPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
public ObjectResultEx GetEnterpriseMenuPage(PageParamList <RequestEnterpriseMenu> pageParam) { return(ObjectResultEx.Instance(EnterpriseService.GetEnterpriseMenuPage(pageParam), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }