|  | @@ -1245,10 +1245,10 @@
 | 
	
		
			
				|  |  |                  AND FIND_IN_SET(mg.organ_id_,#{organIds})
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="hasCourse != null and hasCourse == true">
 | 
	
		
			
				|  |  | -                AND mg.first_course_start_time_ >= NOW()
 | 
	
		
			
				|  |  | +                AND NOW() >= mg.first_course_start_time_
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="hasCourse != null and hasCourse == false">
 | 
	
		
			
				|  |  | -                AND (mg.first_course_start_time_ < NOW() OR mg.first_course_start_time_ IS NULL)
 | 
	
		
			
				|  |  | +                AND (NOW() < mg.first_course_start_time_ OR mg.first_course_start_time_ IS NULL)
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="educationUserId != null">
 | 
	
		
			
				|  |  |                  AND mg.educational_teacher_id_ = #{educationUserId}
 |