Browse Source

Merge remote-tracking branch 'origin/saas' into saas

zouxuan 3 years ago
parent
commit
8a67c40fa4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/TenantInfoMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/TenantInfoMapper.xml

@@ -110,7 +110,7 @@
     </select>
     <select id="queryTenantInfoByOrgan" resultType="com.ym.mec.biz.dal.entity.TenantInfo">
         select * from tenant_info
-        where id_ = (select id_ from organization where tenant_id_ = #{tenantId})
+        where id_ = (select tenant_id_ from organization where id_ = #{organId})
     </select>
 
 </mapper>