| | |
| | | competitionUser.setPhone(participant.getPhone()); |
| | | competitionUser.setIdCard(participant.getIdcard()); |
| | | }else{ |
| | | TStudent tStudent = studentClient.queryById(userCompetition.getParticipantId()); |
| | | AppUser appUser = userMap.get(tStudent.getAppUserId()); |
| | | if (appUser!=null){ |
| | | AppUser appUser = userMap.get(userCompetition.getAppUserId()); |
| | | if (appUser != null){ |
| | | competitionUser.setAppUserId(appUser.getId()); |
| | | competitionUser.setRegisterPhone(appUser.getPhone()); |
| | | } |
| | | competitionUser.setName(tStudent.getName()); |
| | | competitionUser.setSex(tStudent.getSex()); |
| | | competitionUser.setPhone(tStudent.getPhone()); |
| | | competitionUser.setIdCard(tStudent.getIdCard()); |
| | | if (userCompetition.getParticipantId() != null) { |
| | | TStudent tStudent = studentClient.queryById(userCompetition.getParticipantId()); |
| | | if (tStudent != null) { |
| | | if (appUser == null) { |
| | | appUser = userMap.get(tStudent.getAppUserId()); |
| | | if (appUser != null) { |
| | | competitionUser.setAppUserId(appUser.getId()); |
| | | competitionUser.setRegisterPhone(appUser.getPhone()); |
| | | } |
| | | } |
| | | competitionUser.setName(tStudent.getName()); |
| | | competitionUser.setSex(tStudent.getSex()); |
| | | competitionUser.setPhone(tStudent.getPhone()); |
| | | competitionUser.setIdCard(tStudent.getIdCard()); |
| | | } |
| | | } |
| | | } |
| | | if(null != paymentCompetition){ |
| | | competitionUser.setState(paymentCompetition.getPayStatus()); |