GroupOneRemote.java
2.93 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
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.model.request.GroupOneCustomerDetailPageRequest;
import cn.com.glsx.entmicro.model.request.GroupOneRequest;
import cn.com.glsx.entmicro.model.request.oneGroup.OneGroupCountRpcRequest;
import cn.com.glsx.entmicro.model.response.GroupOneCustomerDetailResponse;
import cn.com.glsx.entmicro.model.response.GroupOneResponse;
import cn.com.glsx.entmicro.model.response.oneGroup.OneGroupCountRpcResponse;
import cn.com.glsx.framework.core.annotation.*;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
/**
* @author think.wang
* @Description: 一客一群远程调用接口
* @date 2021/10/28 11:24
*/
@ApiService(value = "一客一群远程调用接口", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "GroupOneTemplateRemote", owner = "think.wang")
public interface GroupOneRemote {
/**
* 新增保存一客一群数据
* @param request
* @return
*/
@ApiMethod("新增保存一客一群数据")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "GroupOneRequest", notes = "新增保存一客一群数据", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> insert(GroupOneRequest request);
/**
* 通过客户Id和模板Id查询群信息
* @param
* @return
*/
@ApiMethod("通过客户Id和模板Id查询群信息")
@ApiResponse("一客一群数据")
@ApiParams({@ApiParam(name = "GroupOneRequest", notes = "条件查询一客一群", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<GroupOneResponse> getGroupOneRemote(GroupOneRequest request);
/**
* 通过客户Id和模板Id获取群聊名称
* @param
* @return
*/
@ApiMethod("通过客户Id和模板Id获取群聊命名")
@ApiResponse("获取群聊命名")
@ApiParams({@ApiParam(name = "GroupOneRequest", notes = "获取群聊命名", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<String> getGroupName(GroupOneRequest request);
/**
* 根据一客一群模板id查询客户列表分页
* @param
* @return
*/
@ApiMethod("根据一客一群模板id查询客户列表分页")
@ApiResponse("客户列表")
@ApiParams({@ApiParam(name = "pagination", notes = "模板id", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<GroupOneCustomerDetailResponse>> pageGroupOneCustomerPage(RpcPagination<GroupOneCustomerDetailPageRequest> pagination);
@ApiMethod("查询一客一群群聊统计")
@ApiResponse("群聊统计")
@ApiParams({@ApiParam(name = "GroupOneRequest", notes = "查询一客一群群聊统计", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<OneGroupCountRpcResponse> getOneGroupCount(OneGroupCountRpcRequest request);
}