|
|
@@ -254,7 +254,7 @@ public class LearnTeacherService {
|
|
|
}
|
|
|
} else {
|
|
|
// directKey = universityId_examType_directKey
|
|
|
- Map<Long, Map<String, LearnDirectedKnowledge>> universityDirectedKnowledgeMap = learnDirectedKnowledgeMapper.selectByUniversityIds(universityDirectStudentMap.keySet().toArray(new Long[universityDirectStudentMap.size()])).stream().collect(
|
|
|
+ Map<Long, Map<String, LearnDirectedKnowledge>> universityDirectedKnowledgeMap = learnDirectedKnowledgeMapper.selectByUniversityIds(universityDirectStudentMap.keySet().toArray(new Long[universityDirectStudentMap.size()]), req.getMatchYear()).stream().collect(
|
|
|
Collectors.groupingBy(LearnDirectedKnowledge::getUniversityId, Collectors.toMap(this::buildDirectKey, a -> a)));
|
|
|
for(Long universityId : universityDirectedKnowledgeMap.keySet()) {
|
|
|
Map<String, LearnDirectedKnowledge> directedKnowledgeMap = universityDirectedKnowledgeMap.get(universityId);
|