MassRemote.java
9.37 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
package cn.com.glsx.entmicro.remote;
import cn.com.glsx.entmicro.dto.mass.*;
import cn.com.glsx.entmicro.model.request.MassRequest;
import cn.com.glsx.entmicro.model.request.mass.*;
import cn.com.glsx.entmicro.model.response.MassResponse;
import cn.com.glsx.entmicro.model.response.MassStaffSendStatusResponse;
import cn.com.glsx.entmicro.model.response.MassTemplateApiResponse;
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;
import java.util.List;
/**
* @author think.wang
* @Description:
* @date 2021/11/1 11:24
*/
@ApiService(value = "客户/客户群群发调用接口", version = "1.0.0", protocol = ApiService.ProtocolEnum.dubbo, type = ApiService.ApiTypeEnum.DUBBO, alias = "GroupOneTemplateRemote", owner = "think.wang")
public interface MassRemote {
/**
* 新增保存客户/客户群群发数据
* @param massRequest
* @return
*/
@ApiMethod("新增保存客户/客户群群发数据")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "MassRequest", notes = "新增保存客户/客户群群发数据", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Integer> insertRemote(MassRequest massRequest);
/**
* 分页查询客户/客户群群发数据列表
* @param
* @return
*/
@ApiMethod("分页查询客户/客户群群发数据列表")
@ApiResponse("客户/客户群群发数据列表分页数据")
@ApiParams({@ApiParam(name = "RpcPagination", notes = "分页查询客户/客户群群发数据列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<MassResponse>> listMassByPage(RpcPagination<MassRequest> pagination);
/**
* 根据id获取客户/客户群群发数据列表
* @param id 请求参数
* @return 返回参数
*/
@ApiMethod("根据id获取客户/客户群群发数据列表")
@ApiResponse("客户/客户群群发数据列表")
@ApiParams({@ApiParam(name = "Integer", notes = "根据id获取客户/客户群群发数据列表", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<MassResponse> getByIdRemote(Integer id);
/**
* 群发列表--发送提醒
* @param id 请求参数
*/
@ApiMethod("群发列表--发送提醒")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "Integer", notes = "群发列表--发送提醒", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<Boolean> sendRemind(Integer id);
/**
* 群发详情 - 发送提醒
* @param id 请求参数
*/
@ApiMethod("群发详情 - 发送提醒")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "id", notes = "群发员工记录表ID", dataType = ApiParam.DataTypeEnum.INTEGER, required = true),
@ApiParam(name = "massType", notes = "群发类型", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<Boolean> remindUserGroup(Integer id, Integer massType);
/**
* 客户群发 统计
* @param massId
* @return
*/
@ApiMethod("客户群发 统计")
@ApiResponse("客户群发统计数据")
@ApiParams({@ApiParam(name = "Integer", notes = "客户群发Id", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<MassDetailStatisticDTO> getMassDetailStatisticInfo(Integer massId);
/**
* 客户群发 员工列表
* @param massRequest
* @return
*/
@ApiMethod("客户群发 员工列表")
@ApiResponse("客户群发-员工列表数据")
@ApiParams({@ApiParam(name = "massRequest", notes = "客户群发详情获取参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<MassStaffSenderItemDTO>> getMassDetailStaffList(MassDetailListRequest massRequest);
/**
* 客户群发 客户列表
* @param massRequest
* @return
*/
@ApiMethod("客户群发 客户列表")
@ApiResponse("客户群发-客户列表数据")
@ApiParams({@ApiParam(name = "massRequest", notes = "客户群发详情获取参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<MassCustomerSenderItemDTO>> getMassDetailCustomerList(MassDetailListRequest massRequest);
/**
* 客户群群发 统计
* @param massId
* @return
*/
@ApiMethod("客户群群发 统计")
@ApiResponse("客户群群发-统计数据")
@ApiParams({@ApiParam(name = "massId", notes = "客户群群发Id", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<MassGroupDetailStatisticDTO> getMassGroupDetailStatisticInfo(Integer massId);
/**
* 客户群群发 员工群列表
* @param massSearchRequest
* @return
*/
@ApiMethod("客户群群发 员工群列表")
@ApiResponse("客户群群发-员工群列表数据")
@ApiParams({@ApiParam(name = "massSearchRequest", notes = "客户群群发详情列表获取参数", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<List<MassGroupDetailSenderDTO>> getMassGroupDetailStaffList(MassGroupStatusSearchRequest massSearchRequest);
/**
* 筛选客户数量
* @param massRequest
* @return
*/
@ApiMethod("筛选客户数量")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "MassRequest", notes = "筛选客户参数", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Integer> screenCustomerCount(MassRequest massRequest);
/**
* 客户群群发详情群列表更新
* @param massId
* @return
*/
@ApiMethod("客户群群发详情群列表更新")
@ApiResponse("MassResponse")
@ApiParams({@ApiParam(name = "massId", notes = "群发id", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
RpcResponse<MassResponse> updateMassGroupDetailList(Integer massId);
/**
* 获取群发模板创建者列表
* @param massTemplateCreatedNamesRequest
* @return
*/
@ApiMethod("获取群发模板创建者列表")
@ApiResponse("群发模板创建者列表")
@ApiParams({@ApiParam(name = "MassTemplateCreatedNamesRequest", notes = "登陆用户信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<MassTemplateApiResponse>> selectMassTemplateCreatedNameListByMerchantId(MassTemplateCreatedNamesRequest massTemplateCreatedNamesRequest);
/**
* 群发模板创建
* @param apiRequest
* @return
*/
@ApiMethod("群发模板创建")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "MassTemplateInsertApiRequest", notes = "模板信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> massTemplateSave(MassTemplateInsertApiRequest apiRequest);
/**
* 群发模板分页查询
* @param pagination
* @return
*/
@ApiMethod("群发模板分页查询")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "MassTemplateSearchApiRequest", notes = "查询信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<MassTemplateApiResponse>> massTemplatePageSearch(RpcPagination<MassTemplateSearchApiRequest> pagination);
/**
* 群发模板更新
* @param apiRequest
* @return
*/
@ApiMethod("群发模板更新")
@ApiResponse("boolean值")
@ApiParams({@ApiParam(name = "MassTemplateUpdateApiRequest", notes = "更新信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<Boolean> massTemplateUpdate(MassTemplateUpdateApiRequest apiRequest);
/**
* 群发模板详情
* @param apiRequest
* @return
*/
@ApiMethod("群发模板详情")
@ApiResponse("群发模板详情")
@ApiParams({@ApiParam(name = "MassTemplateSearchApiRequest", notes = "id", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<MassTemplateApiResponse> massTemplateDetail(MassTemplateSearchApiRequest apiRequest);
@ApiMethod("跟进人回显")
@ApiResponse("跟进人列表")
@ApiParams({@ApiParam(name = "massRequest", notes = "人群筛选条件", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<List<MassFollowStaffEchoApi>> followerEcho(MassRequest massRequest);
@ApiMethod("根据massId和staffId查询群发员工发送状态详情")
@ApiResponse("群发员工发送状态详情")
@ApiParams({@ApiParam(name = "request", notes = "群发员工状态查询", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<MassStaffSendStatusResponse> selectMassStaffDetail(MassStaffDetailListRpcRequest request);
@ApiMethod("根据登录用户门店号同步群发列表")
@ApiResponse("同步时间")
@ApiParams({@ApiParam(name = "request", notes = "群发员工状态查询", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<MassResponse> updateMassByMerchant(MassDefaultRpcRequest massDefaultRpcRequest);
@ApiMethod("客户群发客户分页列表")
@ApiResponse("群发客户分页列表")
@ApiParams({@ApiParam(name = "RpcPagination", notes = "分页查询客户数据列表", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)})
RpcResponse<RpcPagination<MassCustomerSenderItemDTO>> getMassDetailCustomerListPage(RpcPagination<MassCustomerStatusPageRpcRequest> pagination);
}