| | |
| | | model.addAttribute("type",0); |
| | | String[] split = data.get(0).getCertificateImg().split(","); |
| | | List<String> pictures = new ArrayList<>(Arrays.asList(split)); |
| | | model.addAttribute("pictures",pictures); |
| | | model.addAttribute("pictures",data.get(0).getCertificateImg()); |
| | | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); |
| | | String birthday = format.format(data.get(0).getBirthday()); |
| | | model.addAttribute("birthday",birthday); |
| | | model.addAttribute("diploma",data.get(0).getDiploma()); |
| | | return PREFIX + "TCoach_edit.html"; |
| | | } |
| | | /** |