using Learun.Util; using System; using System.Collections.Generic; namespace Learun.Application.IM { /// /// 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架 /// Copyright (c) 2013-2018 上海力软信息技术有限公司 /// 创建人:力软-框架开发组 /// 日 期: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); #endregion #region 提交数据 /// /// 删除实体数据 /// 主键 /// /// void DeleteEntity(string keyValue); /// /// 保存实体数据(新增) /// 实体 /// /// void SaveEntity(IMMsgEntity entity); #endregion } }