src/main/resources/mapper/modules/AiTalkItemMapper.xml
@@ -5,7 +5,7 @@ <select id="getPageListByQuery" resultType="cc.mrbird.febs.ai.res.talk.ApiTalkItemPageVo"> select a.ID as talkItemId, a.member_talk_id as talkId, a.talk_id as talkId, a.type as type, a.context as context, a.CREATED_TIME as createdTime @@ -15,7 +15,7 @@ and a.talk_id = #{record.talkId} <if test="record != null"> <if test="record.talkItemId != null"> and a.id < #{record.talkItemId} and a.id != #{record.talkItemId} </if> </if> </where>