From e248a7b3042fb0f0af080ec6b919f1a96b87f352 Mon Sep 17 00:00:00 2001 From: xhxu Date: Fri, 9 Apr 2021 10:06:00 +0800 Subject: [PATCH] question --- .../src/main/resources/mapper/WxQuestionOneselfLogMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxQuestionOneselfLogMapper.xml b/mallinkService/src/main/resources/mapper/WxQuestionOneselfLogMapper.xml index 8d1ebc6dd..92e558bf1 100644 --- a/mallinkService/src/main/resources/mapper/WxQuestionOneselfLogMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxQuestionOneselfLogMapper.xml @@ -71,10 +71,10 @@ left join wx_question_oneself_topic wqot on wqot.id = wqol.topic_id where wqol.wqou_id = #{wqouId} - and `tenant_id` = #{tenantId} + and wqol.`tenant_id` = #{tenantId} - and `parent_tenant_id` = #{parentTenantId} + and wqol.`parent_tenant_id` = #{parentTenantId} order by wqot.sort