|
@@ -151,7 +151,7 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
|
|
|
|
List<Integer> subjectIds = Arrays.stream(examRoom.getSubjectIdList().split(",")).map(e -> Integer.valueOf(e)).collect(Collectors.toList());
|
|
|
Map<Integer, String> subjectIdNameMap = this.getMap("subject", "id_", "name_", subjectIds, Integer.class, String.class);
|
|
|
- examRoom.setSubjectNameList(StringUtils.join(subjectIdNameMap.keySet(),","));
|
|
|
+ examRoom.setSubjectNameList(StringUtils.join(subjectIdNameMap.values(),","));
|
|
|
|
|
|
List<ExamRoom> examRooms=new ArrayList<>();
|
|
|
List<JSONObject> examTimes = JSON.parseArray(examRoom.getExamTimeJson(), JSONObject.class);
|