fix(chat-room): ONLY_FULL_GROUP_BY로 인한 그룹화 오류 수정
This commit is contained in:
parent
f2ca013b96
commit
28bd700b03
|
@ -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