| 
					
				 | 
			
			
				@@ -602,7 +602,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		from student_statistics ss 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		left join (select COUNT(cssp.id_) course_sum_,cssp.user_id_,COUNT(distinct cssp.course_schedule_id_) course_num_ from course_schedule cs 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		left join course_schedule_student_payment cssp ON cssp.course_schedule_id_ = cs.id_ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		where DATE_FORMAT(cs.class_date_,'%Y-%m-%d') BETWEEN #{startDate} AND #{queryInfo.endDate} AND cs.status_ = 'OVER' AND cs.type_ = 'VIP' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		where DATE_FORMAT(cs.class_date_,'%Y-%m-%d') BETWEEN #{queryInfo.startDate} AND #{queryInfo.endDate} AND cs.status_ = 'OVER' AND cs.type_ = 'VIP' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<include refid="com.ym.mec.biz.dal.dao.CourseScheduleDao.courseIgnore"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		group by cssp.user_id_) cs ON cs.user_id_ = ss.user_id_ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		left join sys_user su ON su.id_ = ss.user_id_ 
			 |