@ -373,9 +373,9 @@ public class StatisticalAnalysisService {
List < TeacherOpenCourseQuestionSettingPure > courseQuestionSettings = teacherOpenCourseQuestionSettingDao . getValuesByQueryNotWithPermission2 ( teacherOpenCourseQuestionSettingQuery ) ;
// 学生做题:读取【文档存档】中所有课程的【章节】、【课程实操】、【作业—题库作业】、【考试】,这几个模块的任务数量
List < Long > questionSettingIdList = courseQuestionSettings . stream ( ) . map ( item - > item . getTeacherOpenCourseQuestionSettingId ( ) ) . collect ( Collectors . toList ( ) ) ;
long allQuestionSettingNumber = resourcesQuestionSnapshotDao . createLambdaQuery ( ) . andIn ( ResourcesQuestionSnapshot : : getTeacherOpenCourseQuestionSettingId , questionSettingIdList )
. count ( ) ;
// List<Long> questionSettingIdList = courseQuestionSettings.stream().map(item -> item.getTeacherOpenCourseQuestionSettingId()).collect(Collectors.toList());
// long allQuestionSettingNumber = resourcesQuestionSnapshotDao.createLambdaQuery().andIn(ResourcesQuestionSnapshot::getTeacherOpenCourseQuestionSettingId, questionSettingIdList)
// .count();
long homeWorkNumber = courseQuestionSettings . stream ( ) . filter ( item - > ! HOMEWORK_FILE . equals ( item . getTeacherOpenCourseQuestionSettingType ( ) ) ) . count ( ) ;
@ -388,8 +388,8 @@ public class StatisticalAnalysisService {
long count = teacherOpenCourseHandsOnSimulationTasks . stream ( ) . filter ( v - > "1" . equals ( v . getTaskType ( ) ) | | "2" . equals ( v . getTaskType ( ) ) ) . count ( ) ;
data . put ( "studyNumber" , count ) ;
//学生做题 课程实操。学生做题:读取【文档存档】中所有课程的【章节】、【课程实操】、【作业—题库作业】、【考试】,这几个模块的任务数量
data . put ( "exerciseNumber" , teacherOpenCourseHandsOnSimulationTasks . size ( ) + allQuestionSettingNumber + homeWorkNumber ) ;
//学生做题 课程实操。学生做题:读取【文档存档】中所有课程的【章节】、【课程实操】、【作业—题库作业】、【考试】,这几个模块的任务数量 (题目配置数量,非题目数量)
data . put ( "exerciseNumber" , teacherOpenCourseHandsOnSimulationTasks . size ( ) + courseQuestionSettings. size ( ) + homeWorkNumber ) ;
//学校动态码
data . put ( "universitiesCollegesAuthCode" , universitiesColleges ! = null ? universitiesColleges . getUniversitiesCollegesAuthCode ( ) : "暂无动态码" ) ;
//注册用户数