浏览代码

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

yanite 3 年之前
父节点
当前提交
926c99aa08
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>