IWeChatContactMappingService.java
1.74 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
59
60
61
62
63
64
65
66
67
68
69
70
package com.linkwechat.wecom.service;
import com.alibaba.fastjson.JSONObject;
import com.linkwechat.common.core.domain.elastic.ElasticSearchEntity;
import com.linkwechat.wecom.domain.WeChatContactMapping;
import java.util.List;
/**
* 聊天关系映射Service接口
*
* @author ruoyi
* @date 2020-12-27
*/
public interface IWeChatContactMappingService
{
/**
* 查询聊天关系映射
*
* @param id 聊天关系映射ID
* @return 聊天关系映射
*/
public WeChatContactMapping selectWeChatContactMappingById(Long id);
/**
* 查询聊天关系映射列表
*
* @param weChatContactMapping 聊天关系映射
* @return 聊天关系映射集合
*/
public List<WeChatContactMapping> selectWeChatContactMappingList(WeChatContactMapping weChatContactMapping);
/**
* 新增聊天关系映射
*
* @param weChatContactMapping 聊天关系映射
* @return 结果
*/
public int insertWeChatContactMapping(WeChatContactMapping weChatContactMapping);
/**
* 修改聊天关系映射
*
* @param weChatContactMapping 聊天关系映射
* @return 结果
*/
public int updateWeChatContactMapping(WeChatContactMapping weChatContactMapping);
/**
* 批量删除聊天关系映射
*
* @param ids 需要删除的聊天关系映射ID
* @return 结果
*/
public int deleteWeChatContactMappingByIds(Long[] ids);
/**
* 删除聊天关系映射信息
*
* @param id 聊天关系映射ID
* @return 结果
*/
public int deleteWeChatContactMappingById(Long id);
/**
* 保存
* @param query
*/
public void saveWeChatContactMapping(List<ElasticSearchEntity> query);
}