| | |
| | | |
| | | List<String> subjectIds = Arrays.stream(data.getSubject().split(",")).collect(Collectors.toList()); |
| | | List<TSubject> subjectLists = new ArrayList<>(); |
| | | for (String id : subjectIds) { |
| | | for (String id : data.getSubject().split( ",")) { |
| | | if (id.startsWith("-")) { |
| | | id = id.replace("-", ""); |
| | | } |
| | |
| | | for (TStudyPair data : pair) { |
| | | List<String> subjectIds = Arrays.stream(data.getSubject().split(",")).collect(Collectors.toList()); |
| | | List<TSubject> subjectLists = new ArrayList<>(); |
| | | for (String id : subjectIds) { |
| | | for (String id : data.getSubject().split(",")) { |
| | | if (id.startsWith("-")) { |
| | | id = id.replace("-", ""); |
| | | } |