|  |  | @ -7,10 +7,18 @@ | 
			
		
	
		
			
				
					|  |  |  |         UPDATE ex_user | 
			
		
	
		
			
				
					|  |  |  |         <trim prefix="set" suffixOverrides=","> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |             <trim prefix="qx_user_id =(case" suffix="end),"> | 
			
		
	
		
			
				
					|  |  |  |                 <foreach collection="list" item="item"> | 
			
		
	
		
			
				
					|  |  |  |                     <if test='null != item.qxUserId'> | 
			
		
	
		
			
				
					|  |  |  |                         when (login_name = #{item.qxMobile} ) then #{item.qxUserId} | 
			
		
	
		
			
				
					|  |  |  |                     </if> | 
			
		
	
		
			
				
					|  |  |  |                 </foreach> | 
			
		
	
		
			
				
					|  |  |  |             </trim> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |             <trim prefix="qx_user_name =(case" suffix="end),"> | 
			
		
	
		
			
				
					|  |  |  |                 <foreach collection="list" item="item"> | 
			
		
	
		
			
				
					|  |  |  |                     <if test='null != item.qxUserName'> | 
			
		
	
		
			
				
					|  |  |  |                         when (qx_user_id = #{item.qxUserId} ) then #{item.qxUserName} | 
			
		
	
		
			
				
					|  |  |  |                         when (login_name = #{item.qxMobile} ) then #{item.qxUserName} | 
			
		
	
		
			
				
					|  |  |  |                     </if> | 
			
		
	
		
			
				
					|  |  |  |                 </foreach> | 
			
		
	
		
			
				
					|  |  |  |             </trim> | 
			
		
	
	
		
			
				
					|  |  | @ -18,7 +26,7 @@ | 
			
		
	
		
			
				
					|  |  |  |             <trim prefix="qx_mobile =(case" suffix="end),"> | 
			
		
	
		
			
				
					|  |  |  |                 <foreach collection="list" item="item"> | 
			
		
	
		
			
				
					|  |  |  |                     <if test='null != item.qxMobile'> | 
			
		
	
		
			
				
					|  |  |  |                         when (qx_user_id = #{item.qxUserId} ) then #{item.qxMobile} | 
			
		
	
		
			
				
					|  |  |  |                         when (login_name = #{item.qxMobile} ) then #{item.qxMobile} | 
			
		
	
		
			
				
					|  |  |  |                     </if> | 
			
		
	
		
			
				
					|  |  |  |                 </foreach> | 
			
		
	
		
			
				
					|  |  |  |             </trim> | 
			
		
	
	
		
			
				
					|  |  | @ -26,7 +34,7 @@ | 
			
		
	
		
			
				
					|  |  |  |             <trim prefix="qx_customer_id =(case" suffix="end),"> | 
			
		
	
		
			
				
					|  |  |  |                 <foreach collection="list" item="item"> | 
			
		
	
		
			
				
					|  |  |  |                     <if test='null != item.qxCustomerId'> | 
			
		
	
		
			
				
					|  |  |  |                         when (qx_user_id = #{item.qxUserId} ) then #{item.qxCustomerId} | 
			
		
	
		
			
				
					|  |  |  |                         when (login_name = #{item.qxMobile} ) then #{item.qxCustomerId} | 
			
		
	
		
			
				
					|  |  |  |                     </if> | 
			
		
	
		
			
				
					|  |  |  |                 </foreach> | 
			
		
	
		
			
				
					|  |  |  |             </trim> | 
			
		
	
	
		
			
				
					|  |  | @ -34,7 +42,7 @@ | 
			
		
	
		
			
				
					|  |  |  |         </trim> | 
			
		
	
		
			
				
					|  |  |  |         WHERE 1=1 | 
			
		
	
		
			
				
					|  |  |  |         <foreach collection="list" item="item" open="AND (  " separator=" OR " index="index" close=")"> | 
			
		
	
		
			
				
					|  |  |  |             (qx_user_id = #{item.qxUserId} ) | 
			
		
	
		
			
				
					|  |  |  |             (login_name = #{item.qxMobile} ) | 
			
		
	
		
			
				
					|  |  |  |         </foreach> | 
			
		
	
		
			
				
					|  |  |  |     </update> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |