|
@@ -102,7 +102,7 @@ public class StudentAttendanceServiceImpl extends ServiceImpl<StudentAttendanceM
|
|
|
return PageResponse.errorParam();
|
|
|
}
|
|
|
Page<StudentAttendanceResp> pageResult = new Page<>();
|
|
|
- Page<StudentAttendance> studentAttendancePage = new Page<>(courseScheduleReq.getPageNo(), courseScheduleReq.getPageSize());
|
|
|
+ Page<StudentAttendance> studentAttendancePage = new Page<StudentAttendance>(courseScheduleReq.getPageNo(), courseScheduleReq.getPageSize());
|
|
|
QueryWrapper<StudentAttendance> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.lambda().eq(true, StudentAttendance::getCourseScheduleId, courseScheduleReq.getCourseScheduleId());
|
|
|
IPage<StudentAttendance> page = page(studentAttendancePage, queryWrapper);
|
|
@@ -131,7 +131,7 @@ public class StudentAttendanceServiceImpl extends ServiceImpl<StudentAttendanceM
|
|
|
if (Objects.isNull(courseScheduleReq.getCourseScheduleId())) {
|
|
|
PageResponse.errorParam();
|
|
|
}
|
|
|
- Page<ClassGroupStudentMapper> classGroupStudentMapperPage = new Page<>(courseScheduleReq.getPageNo(), courseScheduleReq.getPageSize());
|
|
|
+ Page<ClassGroupStudentMapper> classGroupStudentMapperPage = new Page<ClassGroupStudentMapper>(courseScheduleReq.getPageNo(), courseScheduleReq.getPageSize());
|
|
|
Page<StudentAttendanceStatisticsResp> pageResult = new Page();
|
|
|
CourseSchedule courseSchedule = courseScheduleService.getById(courseScheduleReq.getCourseScheduleId());
|
|
|
if (Objects.nonNull(courseSchedule)) {
|