|  | @@ -985,7 +985,7 @@
 | 
	
		
			
				|  |  |              <where>
 | 
	
		
			
				|  |  |                  cs.del_flag_ = 0 and cs.is_lock_ = 0 AND cs.pre_course_flag_ = 0 AND cs.organ_id_ IS NOT NULL and cs.id_ is not null
 | 
	
		
			
				|  |  |                  and cs.group_type_ = 'MUSIC'
 | 
	
		
			
				|  |  | -                and (cs.new_course_id_ is null or cs.id = cs.new_course_id_)
 | 
	
		
			
				|  |  | +                and (cs.new_course_id_ is null or cs.id_ = cs.new_course_id_)
 | 
	
		
			
				|  |  |                  <if test="params.tenantId != null and params.tenantId > 0">
 | 
	
		
			
				|  |  |                      AND cs.tenant_id_ = #{params.tenantId}
 | 
	
		
			
				|  |  |                  </if>
 |