|  | @@ -239,7 +239,8 @@
 | 
	
		
			
				|  |  |          SELECT mgpcd.music_group_payment_calender_id_ 'key',COUNT(mgpcd.payment_status_) 'value'
 | 
	
		
			
				|  |  |          FROM music_group_payment_calender_detail mgpcd
 | 
	
		
			
				|  |  |          WHERE mgpcd.music_group_payment_calender_id_ IN
 | 
	
		
			
				|  |  | -        (SELECT id_ FROM music_group_payment_calender WHERE payment_status_ != 0 AND DATEDIFF('',DATE_FORMAT(start_payment_date_,'%Y-%m-%d')) = #{configValue})
 | 
	
		
			
				|  |  | +        (SELECT id_ FROM music_group_payment_calender WHERE payment_status_ != 0
 | 
	
		
			
				|  |  | +        AND DATEDIFF(start_payment_date_,#{format}) = #{configValue})
 | 
	
		
			
				|  |  |          AND mgpcd.payment_status_ = 'NON_PAYMENT'
 | 
	
		
			
				|  |  |          GROUP BY mgpcd.music_group_payment_calender_id_
 | 
	
		
			
				|  |  |      </select>
 | 
	
	
		
			
				|  | @@ -274,9 +275,9 @@
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |      <select id="getMusicCalenderPushDto" resultMap="CalenderPushDto">
 | 
	
		
			
				|  |  |          SELECT mg.payment_valid_start_date_,mg.payment_valid_end_date_,
 | 
	
		
			
				|  |  | -        mg.educational_teacher_id_,su.phone_ FROM music_group mg
 | 
	
		
			
				|  |  | +        mg.educational_teacher_id_,su.phone_,mg.name_ FROM music_group mg
 | 
	
		
			
				|  |  |          LEFT JOIN sys_user su ON mg.educational_teacher_id_ = su.id_
 | 
	
		
			
				|  |  |          WHERE mg.payment_valid_end_date_ IS NOT NULL AND
 | 
	
		
			
				|  |  | -        DATEDIFF(#{format},DATE_FORMAT(mg.payment_valid_end_date_,'%Y-%m-%d')) = #{configValue}
 | 
	
		
			
				|  |  | +        DATEDIFF(mg.payment_valid_end_date_,#{format}) = #{configValue}
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |  </mapper>
 |