| | |
| | | Date birthday = appUser.getBirthday(); |
| | | LocalDate now = LocalDate.now(); |
| | | if(birthday!=null){ |
| | | int age = now.getYear() - birthday.getYear(); |
| | | int age = now.getYear() - (birthday.getYear()+1900); |
| | | worldCupUserListVo.setAge(age); |
| | | } |
| | | worldCupUserListVos.add(worldCupUserListVo); |
| | |
| | | vo.setType(10); |
| | | userIntegralChangesClient.saveUserIntegralChanges(vo); |
| | | } |
| | | worldCupCompetitor.setOpponentScore(redScore); |
| | | worldCupCompetitor.setOpponentScore(blueScore); |
| | | worldCupCompetitor.setParticipationIntegral(worldCup.getParticipationIntegral()); |
| | | //增加积分明细 |
| | | SaveUserIntegralChangesVo vo = new SaveUserIntegralChangesVo(); |