|
@@ -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>
|