diff --git a/src/main/kotlin/com/android/trisolarisserver/repo/RoomRepo.kt b/src/main/kotlin/com/android/trisolarisserver/repo/RoomRepo.kt index 9ec9925..8069380 100644 --- a/src/main/kotlin/com/android/trisolarisserver/repo/RoomRepo.kt +++ b/src/main/kotlin/com/android/trisolarisserver/repo/RoomRepo.kt @@ -13,6 +13,7 @@ interface RoomRepo : JpaRepository { @EntityGraph(attributePaths = ["roomType"]) fun findByPropertyIdOrderByRoomNumber(propertyId: UUID): List + @EntityGraph(attributePaths = ["roomType"]) fun findByIdAndPropertyId(id: UUID, propertyId: UUID): Room? fun existsByPropertyIdAndRoomNumber(propertyId: UUID, roomNumber: Int): Boolean