diff --git a/yudao-module-system/src/main/resources/mapper/TenantBalanceMapper.xml b/yudao-module-system/src/main/resources/mapper/TenantBalanceMapper.xml index ffcfe10..7159368 100644 --- a/yudao-module-system/src/main/resources/mapper/TenantBalanceMapper.xml +++ b/yudao-module-system/src/main/resources/mapper/TenantBalanceMapper.xml @@ -28,6 +28,7 @@ left join system_tenant as st on stb.id = st.id and st.parent_Id = #{tenantId,jdbcType=BIGINT} + and st.tenant_type = '代理' and stb.id = #{pageReqVO.id,jdbcType=BIGINT}