| | |
| | | //查询学员信息 |
| | | TStudentDto tStudentDto = itStudentService.listOne(tStudentId); |
| | | model.addAttribute("item", tStudentDto); |
| | | if (tStudentDto.getLateralSurface()!=null) { |
| | | if (tStudentDto.getLateralSurface()!=null&&!tStudentDto.getLateralSurface().equals("")) { |
| | | String[] pics = tStudentDto.getLateralSurface().split(";"); |
| | | if (pics.length>0) { |
| | | model.addAttribute("pic1", pics[0]); |
| | | System.out.println("=====pic1==" + pics[0]); |
| | | if (pics.length > 1) { |
| | |
| | | if (pics.length > 2) { |
| | | model.addAttribute("pic3", pics[2]); |
| | | System.out.println("=====pic3==" + pics[2]); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | model.addAttribute("item", tStudentDto); |
| | | if (tStudentDto.getLateralSurface()!=null) { |
| | | if (tStudentDto.getLateralSurface()!=null&&!tStudentDto.equals("")) { |
| | | String[] pics = tStudentDto.getLateralSurface().split(";"); |
| | | model.addAttribute("pic1", pics[0]); |
| | | System.out.println("=====pic1==" + pics[0]); |
| | |
| | | |
| | | List<Map<String,Object>> maps = studentClient.listCom(id); |
| | | |
| | | |
| | | |
| | | return maps; |
| | | } |
| | | |
| | |
| | | evaluateStudent.setImgs(image); |
| | | // evaluateStudent.setInsertTime(new Date()); |
| | | |
| | | |
| | | User user = UserExt.getUser(); |
| | | evaluateStudent.setCoachId(user.getId()); |
| | | appUserClient.save(evaluateStudent); |
| | | // evaluateStudentService.save(evaluateStudent); |
| | | |