hgw 3 rokov pred
rodič
commit
02ea865495

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/TenantProxyInfoMapper.xml

@@ -69,8 +69,8 @@
             '负责人' as `role`,
             c.state_ as state
         from tenant_proxy_user_relation as a
-                 left join tenant_proxy_info c on a.parent_id_ = c.proxy_user_id_
-                 left join sys_user as b  on a.parent_id_ = b.id_
+                 left join tenant_proxy_info c on a.user_id_ = c.proxy_user_id_
+                 left join sys_user as b  on a.user_id_ = b.id_
         <where>
             a.parent_id_ is null
             <if test="param.state != null ">