목록2024/08/04 (1)
미소를뿌리는감자의 코딩
중복된 채팅방을 찾는 코드
1번의 경우 아래와 같이 코드를 작성했다. @Transactional public boolean isCreatedChat(Long userId, Long tutorId) { User user = findByIdAndCheckPresent(userId, false); List chatParticipants = user.getChatParticipants(); for (ChatParticipant chatParticipant : chatParticipants) { List roomParticipants = chatParticipantRepository.findByChatRoomId(chatParticipant.getChatRoom().get..
프로젝트
2024. 8. 4. 19:29