|  | @@ -88,6 +88,11 @@ public class StudentAttendanceServiceImpl extends BaseServiceImpl<Long, StudentA
 | 
	
		
			
				|  |  |  		if(courseSchedule.getGroupType().equals(GroupType.MUSIC)){
 | 
	
		
			
				|  |  |  			attendanceTimeRange = sysConfigService.findByParamName(SysConfigService.ENABLE_STUDENT_ATTENDANCE_TIME_RANGE);
 | 
	
		
			
				|  |  |  		}else{
 | 
	
		
			
				|  |  | +			SysConfig beforeAttendanceTimeRange=sysConfigService.findByParamName(SysConfigService.ENABLE_STUDENT_ATTENDANCE_BEFOR_COURSE_START_TIME_RANGE_VIP);
 | 
	
		
			
				|  |  | +			int courseStartTime = DateUtil.minutesBetween(date, courseSchedule.getStartClassTime());
 | 
	
		
			
				|  |  | +			if(date.before(courseSchedule.getStartClassTime())&&courseStartTime>beforeAttendanceTimeRange.getParanValue(Integer.class)){
 | 
	
		
			
				|  |  | +				throw new BizException("VIP课开课前{}分钟禁止点名",beforeAttendanceTimeRange.getParanValue(Integer.class));
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  			attendanceTimeRange = sysConfigService.findByParamName(SysConfigService.ENABLE_STUDENT_ATTENDANCE_TIME_RANGE_VIP);
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		int courseEndTime = DateUtil.minutesBetween(courseSchedule.getEndClassTime(), date);
 |