|  | @@ -188,14 +188,13 @@
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |      <select id="findByStudentVipGroup" resultMap="StudentPaymentOrder">
 | 
	
		
			
				|  |  |          SELECT
 | 
	
		
			
				|  |  | -        spo.*
 | 
	
		
			
				|  |  | +          spo.*
 | 
	
		
			
				|  |  |          FROM
 | 
	
		
			
				|  |  | -        student_vip_group_payment svgp
 | 
	
		
			
				|  |  | -        LEFT JOIN student_payment_order spo ON svgp.student_payment_order_id_=spo.id_
 | 
	
		
			
				|  |  | -        WHERE svgp.user_id_=#{userId}
 | 
	
		
			
				|  |  | -        AND svgp.vip_group_id_=#{vipGroupId}
 | 
	
		
			
				|  |  | -        AND spo.status_=#{status}
 | 
	
		
			
				|  |  | -        and spo.type_ = 'SMALL_CLASS_TO_BUY'
 | 
	
		
			
				|  |  | +          student_payment_order spo
 | 
	
		
			
				|  |  | +        WHERE spo.user_id_=#{userId}
 | 
	
		
			
				|  |  | +            AND spo.music_group_id_=#{vipGroupId}
 | 
	
		
			
				|  |  | +            AND spo.status_=#{status}
 | 
	
		
			
				|  |  | +            and spo.type_ = 'SMALL_CLASS_TO_BUY'
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |      <!-- 查询报名订单 -->
 | 
	
		
			
				|  |  |      <select id="findMusicGroupApplyOrderByStatus" resultMap="StudentPaymentOrder">
 |