Administrator
2026-02-10 fdbfec9872c9954305e328d270ed04f5da2d6b58
src/main/resources/mapper/modules/AiMemberTalkMapper.xml
@@ -28,7 +28,26 @@
        <where>
            and a.member_id = #{record.memberUuid}
            and a.company_id = #{record.companyId}
            and a.product_id = #{record.productId}
            and a.state = 1
            and b.state = 1
        </where>
        order by a.CREATED_TIME desc
    </select>
    <select id="getPageMyTalkListByQuery" resultType="cc.mrbird.febs.ai.res.memberTalk.ApiMemberProductTalkVo">
        select DISTINCT
        b.ID as id,
        b.name as name,
        b.target as target,
        a.CREATED_TIME as createdTime
        from ai_member_talk a
        left join ai_product b on a.product_id = b.id
        <where>
            and a.member_id = #{record.memberUuid}
            and a.company_id = #{record.companyId}
            and a.state = 1
            and b.state = 1
        </where>
        order by a.CREATED_TIME desc
    </select>