Parcourir la source

fengji 添加声部列表, 添加按分部查询机构详情

yanite il y a 3 ans
Parent
commit
926c99aa08

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