using Learun.Util; using System; using System.Collections.Generic; namespace Learun.Application.IM { /// /// 版 本 PIT-ADMS V7.0.3 敏捷开发框架 /// Copyright (c) 2013-2018 Hexagon PPM /// 创建人:研发部 /// 日 期:2017.04.17 /// 描 述:即时通讯消息内容 /// public interface IMMsgIBLL { #region 获取数据 /// /// 获取列表数据(最近的10条聊天记录) /// /// IEnumerable GetList(string sendUserId, string recvUserId); /// /// 获取列表数据(小于某个时间点的5条记录) /// /// 我的ID /// 对方的ID /// 时间 /// IEnumerable GetListByTime(string myUserId, string otherUserId, DateTime time); /// /// 获取列表数据(大于某个时间的所有数据) /// /// 我的ID /// 对方的ID /// 时间 /// IEnumerable GetListByTime2(string myUserId, string otherUserId, DateTime time); /// /// 获取列表分页数据 /// /// 分页参数 /// /// /// /// IEnumerable GetPageList(Pagination pagination, string sendUserId, string recvUserId, string keyword, string Isread, string ProjectId); //获取未读消息 object GetMsgNotReadNum(string userId, string ProjectId); #endregion #region 提交数据 /// /// 删除实体数据 /// 主键 /// /// void DeleteEntity(string keyValue); /// /// 保存实体数据(新增) /// 实体 /// /// void SaveEntity(IMMsgEntity entity); int UpdateIsread(string msgId, string isRead); IEnumerable GetProjectMsg(string ProjectId, string userId); #endregion } }