|
|
|
@@ -71,10 +71,10 @@ |
|
|
|
left join wx_question_oneself_topic wqot on wqot.id = wqol.topic_id |
|
|
|
where wqol.wqou_id = #{wqouId} |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
and wqol.`tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and `parent_tenant_id` = #{parentTenantId} |
|
|
|
and wqol.`parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
order by wqot.sort |
|
|
|
</select> |
|
|
|
|