|
|
|
@ -202,7 +202,7 @@ public class ChatServiceImpl implements ChatService {
|
|
|
|
|
Assert.notEmpty(conversationId, "会话id不能为空");
|
|
|
|
|
|
|
|
|
|
IPage<ConversationQa> qaPage = conversationQaService.lambdaQuery().eq(ConversationQa::getConversationId, conversationId)
|
|
|
|
|
.orderBy(true, true, ConversationQa::getQuestionTime).page(Page.of(page, size));
|
|
|
|
|
.orderBy(true, false, ConversationQa::getQuestionTime).page(Page.of(page, size));
|
|
|
|
|
|
|
|
|
|
return qaPage.convert(ChatResVO::new);
|
|
|
|
|
}
|
|
|
|
|