|  | @@ -475,10 +475,7 @@
 | 
	
		
			
				|  |  |  		SELECT SUM(spo.expect_amount_) total_buy_amount_,COUNT(DISTINCT spo.user_id_) total_buy_num_,o.name_ organ_name_,o.id_ organ_id_
 | 
	
		
			
				|  |  |  		FROM organization o
 | 
	
		
			
				|  |  |  		LEFT JOIN student_payment_order spo ON o.id_ = spo.organ_id_ AND spo.type_ = 'DOUBLE_ELEVEN2021' AND spo.status_ = 'SUCCESS'
 | 
	
		
			
				|  |  | -		WHERE o.id_ IN (10,11,12,13,14,19,21,23,26,28,34,1,7,9,17,20,37,40,6,3,57,58,8,15,16,4)
 | 
	
		
			
				|  |  | -		<if test="organId != null">
 | 
	
		
			
				|  |  | -			AND o.id_ = #{organId}
 | 
	
		
			
				|  |  | -		</if>
 | 
	
		
			
				|  |  | +		WHERE FIND_IN_SET(o.id_,#{organId})
 | 
	
		
			
				|  |  |  		GROUP BY o.id_
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  	<select id="countOrganDoubleEleven2022Statis" resultMap="DoubleEleven2021Dto">
 | 
	
	
		
			
				|  | @@ -486,10 +483,7 @@
 | 
	
		
			
				|  |  |  		FROM organization o
 | 
	
		
			
				|  |  |  		LEFT JOIN student_payment_order spo ON o.id_ = spo.organ_id_
 | 
	
		
			
				|  |  |  		AND spo.group_type_ = 'ACTIVITY' AND spo.type_ = 'SMALL_CLASS_TO_BUY' AND spo.status_ = 'SUCCESS' AND spo.memo_ = '2022双十一活动购买'
 | 
	
		
			
				|  |  | -		WHERE o.id_ IN (10,11,12,13,14,19,21,23,26,28,34,1,7,9,17,20,37,40,6,3,57,58,8,15,16,4)
 | 
	
		
			
				|  |  | -		<if test="organId != null">
 | 
	
		
			
				|  |  | -			AND o.id_ = #{organId}
 | 
	
		
			
				|  |  | -		</if>
 | 
	
		
			
				|  |  | +		WHERE FIND_IN_SET(o.id_,#{organId})
 | 
	
		
			
				|  |  |  		GROUP BY o.id_
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  	<resultMap id="DoubleEleven2021OrderDetailDto" type="com.ym.mec.biz.dal.dto.DoubleEleven2021OrderDetailDto">
 |