|  | @@ -165,11 +165,11 @@
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="queryByUsername" resultMap="SysUser">
 | 
	
		
			
				|  |  | -		select * from sys_user where username_ = #{username} OR phone_ = #{username}
 | 
	
		
			
				|  |  | +		select * from sys_user where username_ = #{username} OR phone_ = #{username} LIMIT 1
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="queryByPhone" resultMap="SysUser">
 | 
	
		
			
				|  |  | -		select * from sys_user where phone_ = #{phone} OR username_ = #{phone}
 | 
	
		
			
				|  |  | +		select * from sys_user where phone_ = #{phone} OR username_ = #{phone} LIMIT 1
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |      <resultMap id="ImUserModel" type="com.ym.mec.common.entity.ImUserModel">
 | 
	
		
			
				|  |  |          <result column="id_" property="id"/>
 | 
	
	
		
			
				|  | @@ -177,7 +177,7 @@
 | 
	
		
			
				|  |  |          <result property="portrait" column="avatar_"/>
 | 
	
		
			
				|  |  |      </resultMap>
 | 
	
		
			
				|  |  |      <select id="getBasic" resultMap="ImUserModel">
 | 
	
		
			
				|  |  | -        select * from sys_user where id_ = #{userId}
 | 
	
		
			
				|  |  | +        select * from sys_user where id_ = #{userId} LIMIT 1
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      <select id="queryByStatus" resultMap="SysUser">
 |