|
@@ -215,21 +215,6 @@ public class SocialController {
|
215
|
215
|
return response;
|
216
|
216
|
}
|
217
|
217
|
|
218
|
|
- @ApiOperation(value = "评价工单内容以及评分", notes = "评价工单内容以及评分")
|
219
|
|
- @ApiImplicitParams({@ApiImplicitParam(paramType = "path", dataType = "integer", name = "communityId", value = "小区Id"),
|
220
|
|
- @ApiImplicitParam(name = "tpTicket", value = "报修", required = true, dataType = "TpTicket"),
|
221
|
|
- @ApiImplicitParam(paramType = "query", dataType = "integer", name = "ticketId", value = "工单Id")})
|
222
|
|
- @RequestMapping(value = "/accessTicket/{communityId}", method = RequestMethod.POST)
|
223
|
|
- public ResponseBean accessTicket(HttpSession session,@PathVariable("communityId") Integer communityId, @RequestBody TpTicket
|
224
|
|
- tpTicket, @RequestParam("ticketId") String ticketId) {
|
225
|
|
- ResponseBean responseBean = new ResponseBean();
|
226
|
|
- UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
|
227
|
|
- Integer userId = userElement.getId();
|
228
|
|
- socialServiceI.accessTicket(communityId, tpTicket, ticketId,userId);
|
229
|
|
- return responseBean;
|
230
|
|
- }
|
231
|
|
-
|
232
|
|
-
|
233
|
218
|
@ApiOperation(value = "评价工单内容以及评分", notes = "评价工单内容以及评分")
|
234
|
219
|
@ApiImplicitParams({@ApiImplicitParam(paramType = "path", dataType = "integer", name = "communityId", value = "小区Id"),
|
235
|
220
|
@ApiImplicitParam(name = "tpTicket", value = "报修", required = true, dataType = "TpTicket"),
|