캐릭터 챗봇 #338
|
@ -53,7 +53,7 @@ interface ChatRoomRepository : JpaRepository<ChatRoom, Long> {
|
|||
AND pc.participantType = kr.co.vividnext.sodalive.chat.room.ParticipantType.CHARACTER
|
||||
AND pc.isActive = true
|
||||
AND r.isActive = true
|
||||
GROUP BY r.id, r.title, r.createdAt, pc.character.imagePath
|
||||
GROUP BY r.id, r.title, r.createdAt, pc.character.imagePath, pc.character.characterType
|
||||
ORDER BY COALESCE(MAX(m.createdAt), r.createdAt) DESC
|
||||
"""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue