|  | @@ -432,15 +432,8 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
 | 
	
		
			
				|  |  |  		for (Map.Entry<CourseSchedule.CourseScheduleType, List<CourseSchedule>> typeCoursesEntry : typeCourseMap.entrySet()) {
 | 
	
		
			
				|  |  |  			Map<Integer, Integer> sdMap = new HashMap<>();
 | 
	
		
			
				|  |  |  			for (Integer studentId : studentIds) {
 | 
	
		
			
				|  |  | -				Set<Long> existCourseIds = new HashSet<>();
 | 
	
		
			
				|  |  | -				if(studentCourseIdsMap.containsKey(studentId)){
 | 
	
		
			
				|  |  | -					existCourseIds = studentCourseIdsMap.get(studentId);
 | 
	
		
			
				|  |  | -				}
 | 
	
		
			
				|  |  |  				int totalCourseDuration = 0;
 | 
	
		
			
				|  |  |  				for (CourseSchedule courseSchedule : typeCoursesEntry.getValue()) {
 | 
	
		
			
				|  |  | -					if(existCourseIds.contains(courseSchedule.getId())){
 | 
	
		
			
				|  |  | -						continue;
 | 
	
		
			
				|  |  | -					}
 | 
	
		
			
				|  |  |  					//课程时长
 | 
	
		
			
				|  |  |  					int courseDuration = DateUtil.minutesBetween(courseSchedule.getStartClassTime(), courseSchedule.getEndClassTime());
 | 
	
		
			
				|  |  |  					totalCourseDuration += courseDuration;
 |