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