cloud-server-competition/src/main/java/com/dsh/competition/controller/ParticipantController.java
@@ -120,16 +120,11 @@ if (null == uid) { return ResultUtil.tokenErr(); } int numDigits = String.valueOf(editParticipant.getId()).length(); if (numDigits == 9) { if (null != editParticipant.getIsStudent() && 0 == editParticipant.getIsStudent()) { Participant byId = participantService.getById(editParticipant.getId()); editParticipant.setName(byId.getName()); return participantService.editParticipant(uid, editParticipant); } else { TStudent student = new TStudent(); student.setId(editParticipant.getId()); @@ -149,8 +144,6 @@ return ResultUtil.error("身份证和姓名不匹配"); } } student.setPhone(editParticipant.getPhone()); studentClient.updateAppUser(student); return ResultUtil.success(); cloud-server-competition/src/main/java/com/dsh/competition/service/impl/CompetitionServiceImpl.java
@@ -681,6 +681,7 @@ public void moneyOut() throws AlipayApiException { Date date = new Date(); List<Competition> list = competitionService.list(new QueryWrapper<Competition>().lt("endTime",date).ne("isOut",1)); if(list.size() > 0){ List<Integer> coms = new ArrayList<>(); for (Competition competition : list) { coms.add(competition.getId()); @@ -691,6 +692,7 @@ moneyOut(pay.getPayOrderNo(),pay.getPayOrderNo(),pay.getCode()); } competitionService.updateBatchById(list); } }