@@ -51,7 +51,7 @@
on us.site_id = s.id
<where>
s.enable=1
- and tenant_id=#{tenantId}
+ and s.tenant_id=#{tenantId}
<if test="userId != null and userId != 0">
and us.user_id = #{userId}
</if>