IWeChatContactMsgService.java
1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.linkwechat.wecom.service;
import com.linkwechat.wecom.domain.WeChatContactMsg;
import com.baomidou.mybatisplus.extension.service.IService;
import com.linkwechat.wecom.domain.vo.WeChatContactMsgVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 会话消息Service接口
*
* @author ruoyi
* @date 2021-07-28
*/
public interface IWeChatContactMsgService extends IService<WeChatContactMsg> {
/**
* 查询列表
*/
List<WeChatContactMsg> queryList(WeChatContactMsg weChatContactMsg);
/**
* 外部联系人 会话列表
* @param fromId 消息发送人id
* @return 会话列表
*/
List<WeChatContactMsgVo> selectExternalChatList(String fromId);
/**
* 单聊 会话列表
* @param weChatContactMsg 入参
* @return 会话列表
*/
List<WeChatContactMsgVo> selectAloneChatList(WeChatContactMsg weChatContactMsg);
/**
* 内部联系人 会话列表
* @param fromId 消息发送人id
* @return 会话列表
*/
List<WeChatContactMsgVo> selectInternalChatList(String fromId);
/**
* 群聊 会话列表
* @param fromId 消息发送人id
* @return 会话列表
*/
List<WeChatContactMsgVo> selectGroupChatList(String fromId);
/**
* 全文检索 会话列表
* @param weChatContactMsg 检索条件
* @return 会话列表
*/
List<WeChatContactMsgVo> selectFullSearchChatList(WeChatContactMsg weChatContactMsg);
}