yonge 3 years ago
parent
commit
828b45760a

+ 1 - 1
mec-auth/mec-auth-server/src/main/resources/config/mybatis/SysUserDeviceMapper.xml

@@ -119,7 +119,7 @@
 	</select>
 	
 	<select id="queryByUserId" resultMap="SysUserDevice" parameterType="map">
-		SELECT * FROM sys_user_device WHERE user_id_ = #{userId} and del_flag_ = 0 and tenant_id_ = #{tenantId}
+		SELECT * FROM sys_user_device WHERE user_id_ = #{userId} and del_flag_ = 0
 		<if test="clientId != null">
 			and client_id_ = #{clientId}
 		</if>