|
|
@ -72,30 +72,28 @@ public class ScoreController { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// @ApiOperation(value = "退回单个评委的评分",notes = "")
|
|
|
|
// @ApiImplicitParams({
|
|
|
|
// @ApiImplicitParam(name = "roleId", value = "评委id", required = true, paramType = "path"),
|
|
|
|
// @ApiImplicitParam(name = "playerId", value = "参赛项目id", required = true, paramType = "path"),
|
|
|
|
// })
|
|
|
|
// @RequestMapping(value = "/back", method = RequestMethod.DELETE, produces = {"application/json;charset=UTF-8"})
|
|
|
|
// public JsonResponse backScore(HttpServletRequest request,
|
|
|
|
// @RequestParam(required = true) Long roleId,
|
|
|
|
// @RequestParam(required = true) Long playerId) throws Exception {
|
|
|
|
// scoreService.backScore(roleId,playerId);
|
|
|
|
// return JsonResponse.newInstance().ok();
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// @ApiOperation(value = "退回所有评委的评分",notes = "")
|
|
|
|
// @ApiImplicitParams({
|
|
|
|
// @ApiImplicitParam(name = "playerId", value = "参赛项目id", required = true, paramType = "path"),
|
|
|
|
// })
|
|
|
|
// @RequestMapping(value = "/backAll", method = RequestMethod.DELETE, produces = {"application/json;charset=UTF-8"})
|
|
|
|
// public JsonResponse backScoreAll(HttpServletRequest request,
|
|
|
|
// @RequestParam(required = true) Long playerId) throws Exception {
|
|
|
|
// scoreService.backScoreAll(playerId);
|
|
|
|
// return JsonResponse.newInstance().ok();
|
|
|
|
// }
|
|
|
|
|
|
|
|
@ApiOperation(value = "退回单个评委的评分",notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "roleId", value = "评委id", required = true, paramType = "path"), |
|
|
|
@ApiImplicitParam(name = "playerId", value = "参赛项目id", required = true, paramType = "path"), |
|
|
|
}) |
|
|
|
@RequestMapping(value = "/back", method = RequestMethod.DELETE, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse backScore(@RequestParam(required = true) Long roleId, |
|
|
|
@RequestParam(required = true) Long playerId) throws Exception { |
|
|
|
scoreService.backScore(roleId,playerId); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "退回所有评委的评分",notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "playerId", value = "参赛项目id", required = true, paramType = "path"), |
|
|
|
}) |
|
|
|
@RequestMapping(value = "/backAll", method = RequestMethod.DELETE, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse backScoreAll(@RequestParam(required = true) Long playerId) throws Exception { |
|
|
|
scoreService.backScoreAll(playerId); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "查看项目排名及详细分数",notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|