|  |  | @ -116,16 +116,18 @@ | 
			
		
	
		
			
				
					|  |  |  |             customer_staff | 
			
		
	
		
			
				
					|  |  |  |         WHERE | 
			
		
	
		
			
				
					|  |  |  |             del_flag = '0' | 
			
		
	
		
			
				
					|  |  |  |         AND user_id IN | 
			
		
	
		
			
				
					|  |  |  |         <foreach item="staffId" collection="staffIds" open="(" separator="," close=")"> | 
			
		
	
		
			
				
					|  |  |  |             #{staffId} | 
			
		
	
		
			
				
					|  |  |  |         </foreach> | 
			
		
	
		
			
				
					|  |  |  |         ORDER BY field( | 
			
		
	
		
			
				
					|  |  |  |             user_id, | 
			
		
	
		
			
				
					|  |  |  |             <foreach item="staffId" collection="staffIds" separator=","> | 
			
		
	
		
			
				
					|  |  |  |         <if test="staffIds != null and staffIds.size() > 0"> | 
			
		
	
		
			
				
					|  |  |  |             AND user_id IN | 
			
		
	
		
			
				
					|  |  |  |             <foreach item="staffId" collection="staffIds" open="(" separator="," close=")"> | 
			
		
	
		
			
				
					|  |  |  |                 #{staffId} | 
			
		
	
		
			
				
					|  |  |  |             </foreach> | 
			
		
	
		
			
				
					|  |  |  |         ) | 
			
		
	
		
			
				
					|  |  |  |             ORDER BY field( | 
			
		
	
		
			
				
					|  |  |  |                 user_id, | 
			
		
	
		
			
				
					|  |  |  |                 <foreach item="staffId" collection="staffIds" separator=","> | 
			
		
	
		
			
				
					|  |  |  |                     #{staffId} | 
			
		
	
		
			
				
					|  |  |  |                 </foreach> | 
			
		
	
		
			
				
					|  |  |  |             ) | 
			
		
	
		
			
				
					|  |  |  |         </if> | 
			
		
	
		
			
				
					|  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     <select id="selectByStaffId" resultType="com.epmet.dataaggre.dto.epmetuser.CustomerStaffDTO"> | 
			
		
	
	
		
			
				
					|  |  | 
 |