| | |
| | | List<ArticleDataPage> totalData = _acc.GetArticleCollectionList(Platform, ArticleType, Keyword, PageNumber, PageSize, UserId); |
| | | return new PaginatedResult<ArticleDataPage>(totalData, totalCount, totalPage); |
| | | } |
| | | /// <summary> |
| | | /// 获取关键词列表数据 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | |
| | | public PaginatedResult<ArticleDataPage> GetArticleContentList(string Platform, string ArticleType, string Scope, string Keyword, int PageNumber, int PageSize, int UserId) |
| | | { |
| | | QccSearchInfoBLL qccSearchInfoBll = new QccSearchInfoBLL(); |
| | | int totalCount = _acc.GetArticleContentCount(Platform, ArticleType, Scope, Keyword); |
| | | int totalPage = (int)Math.Ceiling((double)totalCount / PageSize); |
| | | List<ArticleDataPage> totalData = _acc.GetArticleContentList(Platform, ArticleType, Scope, Keyword, PageNumber, PageSize, UserId); |
| | | return new PaginatedResult<ArticleDataPage>(totalData, totalCount, totalPage); |
| | | } |
| | | |
| | | |
| | | public PaginatedResult<ArticleDataPage> GetDeclarationtimeList(string Keyword, int Time, int PageNumber, int PageSize, string Region) |
| | | { |