| 1234567891011121314151617181920212223242526272829303132333435 |
- using MadRunFabric.Common;
- using MadRunFabric.Model;
- using MessageApi.Model.Dto;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace MessageApi.IRepositories
- {
- /// <summary>
- /// 新闻管理
- /// </summary>
- public interface ISys_NewsRepository : IRepository<Sys_News, string>
- {
- /// <summary>
- /// 列表 -- 关联查询
- /// </summary>
- /// <param name="keyword"></param>
- /// <param name="projectid"></param>
- /// <param name="typeid"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <param name="recordCount"></param>
- /// <returns></returns>
- IEnumerable<SysNewsDto> GetListsByPage(string keyword, string projectid, string typeid, int state, int level, UserAccountInfoModel userinfo,string rolecode, int pageIndex, int pageSize, out int recordCount);
- /// <summary>
- /// 详情 - 获取详情 by id
- /// </summary>
- /// <param name="id"></param>
- /// <returns></returns>
- object GetDetails(string id);
- }
- }
|