cloud-server-competition/src/main/java/com/dsh/competition/service/impl/ParticipantServiceImpl.java
@@ -230,10 +230,16 @@ * @throws Exception */ @Override public ResultUtil delParticipant(Integer id) throws Exception { public ResultUtil delParticipant(Integer id, Integer isStudent) throws Exception { if(isStudent == 1){ TStudent tStudent = studentClient.queryById(id); tStudent.setState(3); studentClient.updateAppUser(tStudent); }else{ Participant participant = this.getById(id); participant.setState(3); this.updateById(participant); } return ResultUtil.success(); }