lidongdong
2023-10-14 184bb563d9f6cca39737604a544f73bffdc9bf4c
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
package com.panzhihua.common.service.jinhui;
 
import com.panzhihua.common.model.dtos.community.ComActWorkGuideDTO;
import com.panzhihua.common.model.dtos.community.PageActWorkGuideDTO;
import com.panzhihua.common.model.dtos.community.convenient.PageConvenientMerchantDTO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.community.ComActWorkGuideClassifyVO;
import com.panzhihua.common.model.vos.jinhui.JinghuiMerchantEvaluateVO;
import com.panzhihua.common.model.vos.jinhui.JinhuiCoinGeneralTableVO;
import com.panzhihua.common.model.vos.jinhui.JinhuiGoldCoinRecordVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
 
/**
 * 金汇社区
 */
@FeignClient(name = "huacheng-jinhui-community")
public interface JinhuiCommunityService
{
    /****************************************************************************************************
     *
     *
     *                                   金汇币总币
     *
     *
     *****************************************************************************************************/
 
 
    @GetMapping("/jinhuiCoinTable/getList")
    public R coinTableGetList(@RequestParam("pageNum")  int pageNum,
                              @RequestParam("pageSize")  int pageSize,
                              @RequestParam("type")   String type);
 
    @GetMapping("/jinhuiCoinTable/getDetails")
    public R coinTableGetDetails(@RequestParam("userId") String userId);
    /**
     * 新增
     * @param
     * @return
     */
    @PostMapping("/jinhuiCoinTable/addData")
    public R coinTableAddData(@RequestBody JinhuiCoinGeneralTableVO jinhuiGoldCoinRecordVO);
 
    @PostMapping("/jinhuiCoinTable/editData")
    public R coinTableEditData(@RequestBody JinhuiCoinGeneralTableVO jinhuiGoldCoinRecordVO);
 
    @PostMapping("/jinhuiCoinTable/expurgateData")
    public R coinTableExpurgateData(@RequestParam("id") String id);
 
 
 
 
 
 
    /****************************************************************************************************
     *
     *
     *                                   金汇币记录
     *
     *
     *****************************************************************************************************/
 
    @GetMapping("/jinhuiRecord/getList")
    public R recordGetList(@RequestParam("pageNum")  int pageNum,
                           @RequestParam("pageSize")  int pageSize,
                           @RequestParam("userId")   String userId);
 
    @GetMapping("/jinhuiRecord/getDetails")
    public R recordGetDetails(@RequestParam("id") String id);
    /**
     * 新增
     * @param
     * @return
     */
    @PostMapping("/jinhuiRecord/addData")
    public R recordAddData(@RequestBody JinhuiGoldCoinRecordVO jinhuiGoldCoinRecordVO);
 
    @PostMapping("/jinhuiRecord/editData")
    public R recordEditData(@RequestBody JinhuiGoldCoinRecordVO jinhuiGoldCoinRecordVO);
 
    @PostMapping("/jinhuiRecord/expurgateData")
    public R recordExpurgateData(@RequestParam("id") String id);
 
 
    /*************************************************************************************************
     *
     *                                  办事指南
     *
     ***************************************************************************************************/
 
    /**
     * 办事指南_新增
     *
     * @param workGuideDTO
     *            新增信息
     * @return 新增结果
     */
    @PostMapping("/JinhuiWorkGuide/addworkguide")
    @Transactional(rollbackFor = Exception.class)
    public R addWorkGuide(@RequestBody ComActWorkGuideDTO workGuideDTO, @RequestParam("userId") String userId);
 
    /**
     * 办事指南_编辑
     *
     * @param workGuideDTO
     * @return 编辑结果
     */
    @PostMapping("/JinhuiWorkGuide/editworkguide")
    @Transactional(rollbackFor = Exception.class)
    public R putWorkGuide(@RequestBody ComActWorkGuideDTO workGuideDTO, @RequestParam("userId") String userId) ;
 
    /**
     * 办事指南_详情
     *
     * @param workGuideId
     * @return 详情
     */
    @GetMapping("/JinhuiWorkGuide/detailworkguide")
    public R detailWorkGuide(@RequestParam("workGuideId") String workGuideId,
                             @RequestParam("communityId") String communityId) ;
 
    /**
     * 办事指南_分页
     *
     * @param pageActWorkGuideDTO
     *            查询参数
     * @return 分页集合
     */
    @PostMapping("/JinhuiWorkGuide/pageworkguide")
    public R pageWorkGuide(@RequestBody PageActWorkGuideDTO pageActWorkGuideDTO) ;
 
    /**
     * 办事指南_删除
     *
     * @param workGuideId
     *            办事指南id
     * @return 删除结果
     */
    @PostMapping("/JinhuiWorkGuide/delectworkguide")
    R delectWorkGuide(@RequestParam("workGuideId") String workGuideId) ;
 
    /**
     * 分页查询办事执念-分类管理 addWorkGuideClassify  分页查询办事执念-分类管理
     * @param    comActWorkGuideClassifyVO   查询参数
     * @return    R   返回结果
     * @author txb
     * @date 2021/8/31 15:03
     */
    @PostMapping("/JinhuiWorkGuide/workGuide/classify/apage")
    public R pageWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO) ;
 
    /**
     * 办事执念-分类管理新增或修改  addWorkGuideClassify  办事执念-分类管理新增或修改
     * @param    comActWorkGuideClassifyVO   新增或修改参数
     * @return    R   返回结果
     * @author txb
     * @date 2021/8/31 15:03
     */
    @PostMapping("/JinhuiWorkGuide/workGuide/classify/add")
    public R addWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO) ;
 
    /**
     * 办事执念-分类管理删除  addWorkGuideClassify  办事执念-分类管理删除
     * @param    workGuideClassifyId    办事执念-分类管理id
     * @return    R   返回结果
     * @author txb
     * @date 2021/8/31 15:03
     */
    @GetMapping("/JinhuiWorkGuide/workGuide/classify/delete")
    public R deleteWorkGuideClassify(@RequestParam("workGuideClassifyId") String workGuideClassifyId) ;
 
    /**
     * 办事指南-分类管理列表查询  getWorkGuideClassifyList  办事指南-分类管理列表查询
     * @return    R   返回结果
     * @author txb
     * @date 2021/8/31 15:03
     */
    @GetMapping("/JinhuiWorkGuide/workGuide/classify/getList")
    public R getWorkGuideClassifyList(@RequestParam("areaCode")String areaCode) ;
 
    /**
     * 办事指南列表-按分类查询
     * @param pageActWorkGuideDTO   请求参数
     * @return  办事指南分类列表
     */
    @PostMapping("/JinhuiWorkGuide/listworkguide")
    public R listWorkGuide(@RequestBody PageActWorkGuideDTO pageActWorkGuideDTO) ;
 
    /**
     * 根据办事指南分类id查询办事指南列表
     * @param classifyId   办事指南分类id
     * @return  办事指南列表数据
     */
    @GetMapping("/JinhuiWorkGuide/listworkguide/classify")
    public R listWorkGuideByClassifyId(@RequestParam("classifyId") String classifyId) ;
 
 
    /**********************************************************************************************
     *
     *
     *                            便民服务
     *
     *
     ************************************************************************************************/
 
    /**
     * 删除便民服务商家
     *
     * @param merchantId
     * @return
     */
    @DeleteMapping("/jinhuiMerchant/delete")
    public R deleteMerchant(@RequestParam("merchantId") String merchantId, @RequestParam("operator") String operator);
 
    /**
     * 分页查询便民服务商家 运营后台
     *
     * @param pageConvenientMerchantDTO
     * @return
     */
    @PostMapping("/jinhuiMerchant/page")
    public R pageMerchant(@RequestBody PageConvenientMerchantDTO pageConvenientMerchantDTO);
 
    /**
     * 获取便民服务商家详情
     *
     * @param merchantId
     * @return
     */
    @GetMapping("/jinhuiMerchant/get")
    public R getMerchant(@RequestParam("merchantId") String merchantId);
 
 
    /**
     * 分页查询 商家类别
     * @param
     * @return
     */
    @GetMapping("/jinhuiMerchant/getCategories")
    public R getListCategories(@RequestParam("pageNum") int pageNum,
                               @RequestParam("pageSize") int pageSize);
 
 
    /**************************************************************************************************************
     *
     *
     *                                      商家评论
     *
     *
     *************************************************************************************************************/
    /**
     * 商家评论列表
     * @param pageNum
     * @param pageSize
     * @param merchantId
     * @return
     */
    @GetMapping("/jinghuiMerchantEvaluate/getList")
    public R merchantEvaluateGetList(@RequestParam("pageNum")  int pageNum,
                                     @RequestParam("pageSize")  int pageSize,
                                     @RequestParam("merchantId")   String merchantId);
 
    /**
     * 商家评论列单个详情
     * @param id
     * @return
     */
    @GetMapping("/jinghuiMerchantEvaluate/getDetails")
    public R merchantEvaluateGetDetails(@RequestParam("id") String id);
    /**
     * 商家评论列添加
     * @param
     * @return
     */
    @PostMapping("/jinghuiMerchantEvaluate/addData")
    public R merchantEvaluateAddData(@RequestBody JinghuiMerchantEvaluateVO item);
 
    /**
     * 商家评论列编辑
     * @param item
     * @return
     */
    @PostMapping("/jinghuiMerchantEvaluate/editData")
    public R merchantEvaluateEditData(@RequestBody JinghuiMerchantEvaluateVO item);
 
    /**
     * 商家评论列删除
     * @param id
     * @return
     */
    @PostMapping("/jinghuiMerchantEvaluate/expurgateData")
    public R merchantEvaluateExpurgateData(@RequestParam("id") String id);
 
 
 
}