ImReplyService.java 976 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package jnpf.message.service;
  2. import jnpf.base.service.SuperService;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import jnpf.message.entity.ImReplyEntity;
  5. import jnpf.message.model.ImReplyListModel;
  6. import java.util.List;
  7. /**
  8. * 聊天会话
  9. *
  10. * @author JNPF开发平台组
  11. * @version V3.1.0
  12. * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
  13. * @date 2021-05-29
  14. */
  15. public interface ImReplyService extends SuperService<ImReplyEntity> {
  16. /**
  17. * 获取消息会话列表
  18. *
  19. * @return
  20. */
  21. List<ImReplyEntity> getList();
  22. /**
  23. * 保存聊天会话
  24. *
  25. * @param entity
  26. * @return
  27. */
  28. boolean savaImReply(ImReplyEntity entity);
  29. /**
  30. * 获取聊天会话列表
  31. *
  32. * @return
  33. */
  34. List<ImReplyListModel> getImReplyList();
  35. /**
  36. * 移除聊天会话列表
  37. *
  38. * @return
  39. */
  40. boolean relocation(String sendUserId,String receiveUserId);
  41. }