|
|
@ -538,20 +538,15 @@ public class TeacherOpenCourseStudentSigninServiceImpl implements TeacherOpenCou
|
|
|
|
teacherOpenCourseStudentSigninLogList.add(teacherOpenCourseStudentSigninLog);
|
|
|
|
teacherOpenCourseStudentSigninLogList.add(teacherOpenCourseStudentSigninLog);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
PageInfo<TeacherOpenCourseStudentSigninLog> courseStudentSigninLogPageInfo = new PageInfo<>(teacherOpenCourseStudentSigninLogList);
|
|
|
|
PageInfo<TeacherOpenCourseStudentSigninLog> courseStudentSigninLogPageInfo = new PageInfo<>(teacherOpenCourseStudentSigninLogList);
|
|
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK, courseStudentSigninLogPageInfo);
|
|
|
|
return new ResultEntity<>(HttpStatus.OK, courseStudentSigninLogPageInfo);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<TeacherOpenCourseStudentSigninLog> teacherOpenCourseStudentSigninLogList =
|
|
|
|
List<TeacherOpenCourseStudentSigninLog> teacherOpenCourseStudentSigninLogList =
|
|
|
|
teacherOpenCourseStudentSigninLogMapper.selectByExample(openCourseStudentSigninLogExample);
|
|
|
|
teacherOpenCourseStudentSigninLogMapper.selectByExample(openCourseStudentSigninLogExample);
|
|
|
|
|
|
|
|
|
|
|
@ -689,22 +684,15 @@ public class TeacherOpenCourseStudentSigninServiceImpl implements TeacherOpenCou
|
|
|
|
stuImportExcelDTO.setClassName(stuUser.getClassName());
|
|
|
|
stuImportExcelDTO.setClassName(stuUser.getClassName());
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogAddTime(teacherOpenCourseStudentSigninLogList.get(0).getTeacherOpenCourseStudentSigninLogAddTime());
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogAddTime(teacherOpenCourseStudentSigninLogList.get(0).getTeacherOpenCourseStudentSigninLogAddTime());
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogType(teacherOpenCourseStudentSigninLogList.get(0).getTeacherOpenCourseStudentSigninLogType() == "manual" ? "手动签到" : teacherOpenCourseStudentSigninLogList.get(0).getTeacherOpenCourseStudentSigninLogType());
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogType(teacherOpenCourseStudentSigninLogList.get(0).getTeacherOpenCourseStudentSigninLogType() == "manual" ? "手动签到" : teacherOpenCourseStudentSigninLogList.get(0).getTeacherOpenCourseStudentSigninLogType());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
importExcelDTOList.add(stuImportExcelDTO);
|
|
|
|
importExcelDTOList.add(stuImportExcelDTO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return importExcelDTOList;
|
|
|
|
return importExcelDTOList;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
List<TeacherOpenCourseStudentSigninLog> teacherOpenCourseStudentSigninLogList =
|
|
|
|
List<TeacherOpenCourseStudentSigninLog> teacherOpenCourseStudentSigninLogList =
|
|
|
|
teacherOpenCourseStudentSigninLogMapper.selectByExample(openCourseStudentSigninLogExample);
|
|
|
|
teacherOpenCourseStudentSigninLogMapper.selectByExample(openCourseStudentSigninLogExample);
|
|
|
|
|
|
|
|
|
|
|
|
for (StuUser stuUser : stuUserList) {
|
|
|
|
for (StuUser stuUser : stuUserList) {
|
|
|
|
|
|
|
|
|
|
|
|
StuImportExcelDTO stuImportExcelDTO = new StuImportExcelDTO();
|
|
|
|
StuImportExcelDTO stuImportExcelDTO = new StuImportExcelDTO();
|
|
|
@ -718,14 +706,12 @@ public class TeacherOpenCourseStudentSigninServiceImpl implements TeacherOpenCou
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogType(studentSigninLog.getTeacherOpenCourseStudentSigninLogType() == "manual" ? "手动签到" : studentSigninLog.getTeacherOpenCourseStudentSigninLogType());
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogType(studentSigninLog.getTeacherOpenCourseStudentSigninLogType() == "manual" ? "手动签到" : studentSigninLog.getTeacherOpenCourseStudentSigninLogType());
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogRemark(studentSigninLog.getTeacherOpenCourseStudentSigninLogRemark());
|
|
|
|
stuImportExcelDTO.setTeacherOpenCourseStudentSigninLogRemark(studentSigninLog.getTeacherOpenCourseStudentSigninLogRemark());
|
|
|
|
importExcelDTOList.add(stuImportExcelDTO);
|
|
|
|
importExcelDTOList.add(stuImportExcelDTO);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return importExcelDTOList;
|
|
|
|
return importExcelDTOList;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|