|
@@ -279,7 +279,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
SysConfig sysConfig = sysConfigService.findByParamName(SysConfigService.ENABLE_STUDENT_ATTENDANCE_TIME_RANGE);
|
|
|
SysConfig sysConfigVip = sysConfigService.findByParamName(SysConfigService.ENABLE_STUDENT_ATTENDANCE_TIME_RANGE_VIP);
|
|
|
currentCourseDetail.setEnableStudentAttendanceTimeRange(sysConfig.getParanValue(Integer.class));
|
|
|
- currentCourseDetail.setEnableStudentAttendanceTimeRange(sysConfigVip.getParanValue(Integer.class));
|
|
|
+ currentCourseDetail.setEnableStudentAttendanceTimeRangeVip(sysConfigVip.getParanValue(Integer.class));
|
|
|
int studentNum = studentAttendanceDao.countByCourseSchedule(courseID);
|
|
|
if (Objects.nonNull(studentNum)) {
|
|
|
currentCourseDetail.setStudentAttendanceIsFirstTime(studentNum > 0 ? 0 : 1);
|