| | |
| | | Integer id = jsonObject.getInteger("id"); |
| | | |
| | | TStudent tStudent = studentClient.queryById(id); |
| | | if(tStudent==null || tStudent.getIdCard()==null || "".equals(tStudent.getIdCard())){ |
| | | return ResultUtil.error("选择人员未进行实名认证!"); |
| | | if( competition.getRealName()==1){ |
| | | if(tStudent==null || tStudent.getIdCard()==null || "".equals(tStudent.getIdCard()) ){ |
| | | return ResultUtil.error("选择人员未进行实名认证!"); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | if (competition.getStartAge() > (Integer.valueOf(sdf1.format(new Date())) - Integer.valueOf(sdf1.format(tStudent.getBirthday())))) { |
| | | return ResultUtil.error("【" + tStudent.getName() + "】年龄不符合要求"); |
| | | } |