캐릭터 챗봇 #338
| @@ -59,7 +59,7 @@ interface ChatCharacterRepository : JpaRepository<ChatCharacter, Long> { | ||||
|               AND pc.isActive = true | ||||
|               AND r.isActive = true | ||||
|             GROUP BY c.id | ||||
|             ORDER BY COALESCE(MAX(m.createdAt), r.createdAt) DESC | ||||
|             ORDER BY MAX(COALESCE(m.createdAt, r.createdAt)) DESC | ||||
|         """ | ||||
|     ) | ||||
|     fun findRecentCharactersByMember( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user