|
|
|
@ -264,7 +264,10 @@ public class AdminIndexDutyServiceImpl implements AdminIndexDutyService {
|
|
|
|
|
lessonRecordKey, startTime, endTime, subjectId, tmdId, grade, periodId
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
for(String classId : teacherDto.getClassIds()) {
|
|
|
|
|
Set<String> classIds = records.stream().filter(lessonRecord -> lessonRecord.getTmdid().equalsIgnoreCase(teacherDto.getTmdId()))
|
|
|
|
|
.flatMap(record -> record.getGroupIds().stream())
|
|
|
|
|
.collect(Collectors.toSet());
|
|
|
|
|
for(String classId : classIds) {
|
|
|
|
|
Map<String, Object> mapper = new HashMap<>();
|
|
|
|
|
// 计算本学期互动总数
|
|
|
|
|
int totalClientInteractionCount = records.stream().filter(lessonRecord ->
|
|
|
|
|