|  | @@ -843,10 +843,10 @@
 | 
	
		
			
				|  |  |  		AND ((mgpc.member_rank_setting_id_ IS NOT NULL AND (sr.membership_end_time_ < NOW() OR sr.membership_end_time_ IS NULL)) OR mgpc.member_rank_setting_id_ IS NULL)
 | 
	
		
			
				|  |  |  		AND mgpcd.payment_status_ = 'NON_PAYMENT' AND mgpc.batch_no_ IS NOT NULL AND mgpc.pay_user_type_ = 'STUDENT'
 | 
	
		
			
				|  |  |  		AND mgpc.current_total_amount_ > 0
 | 
	
		
			
				|  |  | -		<if test="hasCourse != null and hasCourse == 'true'">
 | 
	
		
			
				|  |  | +		<if test="hasCourse != null and hasCourse == true">
 | 
	
		
			
				|  |  |  			AND mgpsc.used_course_minutes_ > 0
 | 
	
		
			
				|  |  |  		</if>
 | 
	
		
			
				|  |  | -		<if test="hasCourse != null and hasCourse == 'false'">
 | 
	
		
			
				|  |  | +		<if test="hasCourse != null and hasCourse == false">
 | 
	
		
			
				|  |  |  			AND mgpsc.used_course_minutes_ = 0
 | 
	
		
			
				|  |  |  		</if>
 | 
	
		
			
				|  |  |  		<if test="educationUserId != null">
 |