| | |
| | | <where> |
| | | and a.member_id = #{record.memberUuid} |
| | | and a.product_id = #{record.productId} |
| | | and a.state = 1 |
| | | </where> |
| | | order by a.CREATED_TIME desc |
| | | </select> |
| | | |
| | | <select id="getTalkPage" resultType="cc.mrbird.febs.ai.res.member.ApiMemberTalkPageVo"> |
| | | select |
| | | a.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 |
| | | </where> |
| | | order by a.CREATED_TIME desc |
| | | </select> |