src/main/resources/mapper/modules/AiMemberAnswerMapper.xml
@@ -38,7 +38,8 @@
        left join ai_product b on a.product_id = b.id and b.state = 1
        where a.member_id = #{record.memberUuid}
          and a.state = 1
        group by a.product_id
          and a.product_id = #{record.productId}
          and a.company_id = #{record.companyId}
        order by a.CREATED_TIME desc
    </select>
</mapper>