| | |
| | | import com.dsh.competition.feignclient.account.StudentClient; |
| | | import com.dsh.competition.feignclient.account.model.AppUser; |
| | | import com.dsh.competition.feignclient.account.model.Student; |
| | | import com.dsh.competition.feignclient.account.model.TStudent; |
| | | import com.dsh.competition.feignclient.course.CoursePackagePaymentClient; |
| | | import com.dsh.competition.feignclient.course.model.PaymentDeductionClassHour; |
| | | import com.dsh.competition.feignclient.model.CompetitionUser; |
| | |
| | | for (int i = 0; i < jsonArray.size(); i++) { |
| | | JSONObject jsonObject = jsonArray.getJSONObject(i); |
| | | Integer id = jsonObject.getInteger("id"); |
| | | |
| | | TStudent tStudent = studentClient.queryById(id); |
| | | if(tStudent==null || tStudent.getIdCard()==null || "".equals(tStudent.getIdCard())){ |
| | | return ResultUtil.error("选择人员未进行实名认证!"); |
| | | } |
| | | |
| | | Integer isStudent = jsonObject.getInteger("isStudent"); |
| | | UserCompetition userCompetition = new UserCompetition(); |
| | | userCompetition.setAppUserId(uid); |