| | |
| | | private TokenUtil tokenUtil; |
| | | |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/api/participant/addParticipant") |
| | | @ApiOperation(value = "添加参赛人员", tags = {"APP-赛事活动列表", ""}) |
| | |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private StudentClient studentClient; |
| | | |
| | | @Resource |
| | | private AppUserClient appUserClient; |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/api/participant/editParticipant") |
| | | @ApiOperation(value = "编辑参赛人员", tags = {"APP-赛事活动列表", ""}) |
| | |
| | | int numDigits = String.valueOf(editParticipant.getId()).length(); |
| | | |
| | | |
| | | |
| | | if (numDigits==9){ |
| | | Participant byId = participantService.getById(editParticipant.getId()); |
| | | editParticipant.setName(byId.getName()); |
| | | return participantService.editParticipant(uid, editParticipant); |
| | | } |
| | | else { |
| | | } else { |
| | | |
| | | |
| | | TStudent student = new TStudent(); |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/api/participant/delParticipant") |
| | | @ApiOperation(value = "删除参赛人员", tags = {"APP-赛事活动列表", ""}) |
| | |
| | | |
| | | /** |
| | | * 保存学员后同步参赛人员信息 |
| | | * |
| | | * @param saveParticipant |
| | | */ |
| | | @ResponseBody |