| | |
| | | participantVo.setBirthday(format); |
| | | } |
| | | participantVo.setGender(participant.getGender()); |
| | | // if (participant.getIdcard() == null || participant.getIdcard().isEmpty()) { |
| | | // listVo1.add(participantVo); |
| | | // continue; |
| | | // } |
| | | linkedHashMap.put(participant.getName(), participantVo); |
| | | if (participant.getIdcard() == null || participant.getIdcard().isEmpty()) { |
| | | listVo1.add(participantVo); |
| | | continue; |
| | | } |
| | | linkedHashMap.put(participant.getIdcard(), participantVo); |
| | | } |
| | | |
| | | for (TStudent tStudent : tStudents) { |
| | |
| | | } |
| | | participantVo.setGender(tStudent.getSex()); |
| | | participantVo.setIsStudent(1); |
| | | // if (tStudent.getIdCard() == null || tStudent.getIdCard().isEmpty()) { |
| | | // listVo1.add(participantVo); |
| | | // continue; |
| | | // } |
| | | linkedHashMap.put(tStudent.getName(), participantVo); |
| | | if (tStudent.getIdCard() == null || tStudent.getIdCard().isEmpty()) { |
| | | listVo1.add(participantVo); |
| | | continue; |
| | | } |
| | | linkedHashMap.put(tStudent.getIdCard(), participantVo); |
| | | } |
| | | listVo1.addAll(linkedHashMap.values()); |
| | | return listVo1; |
| | |
| | | if(null != paymentCompetition){ |
| | | competitionUser.setState(paymentCompetition.getPayStatus()); |
| | | } |
| | | competitionUser.setInsertTime(userCompetition.getInsertTime()); |
| | | list.add(competitionUser); |
| | | } |
| | | Page<CompetitionUser> page = new Page<>(); |