|
@@ -171,13 +171,13 @@ public class CenterdataTKeyProjectsServiceImpl extends BaseServiceImpl implement
|
|
|
CenterdataTKeyProjects centerdataTKeyProjects = centerdataTKeyProjectsMapper.selectCenterdataTKeyProjectsById(id);
|
|
|
String schedulePictures = centerdataTKeyProjectsMapper.getSelectScheduleById(id);
|
|
|
if (schedulePictures!=null){
|
|
|
- String schedule = "";
|
|
|
+ List<String> schedule = new ArrayList<>();
|
|
|
String[] schedules = schedulePictures.split(",");
|
|
|
for (String pictures : schedules){
|
|
|
String picture = pictures.substring(pictures.indexOf("group1"));
|
|
|
- schedule = schedule + picture + ",";
|
|
|
+ schedule.add(picture);
|
|
|
}
|
|
|
- map.put("schedulePictures", schedule.substring(0, schedule.length() - 1));
|
|
|
+ map.put("schedulePictures", schedule);
|
|
|
}else {
|
|
|
map.put("schedulePictures", "");
|
|
|
}
|