|
@@ -23,7 +23,7 @@ interface ObjectDao {
|
|
|
@Query("select * from object where building_id = :buildingId and obj_type=:type and valid = 1")
|
|
|
suspend fun getObjectByBuildingId(buildingId: String, type: String): List<ObjectEntity>
|
|
|
|
|
|
- @Query("select * from object where building_id = :buildingId and valid = 1")
|
|
|
+ @Query("select * from object where building_id = :buildingId")
|
|
|
suspend fun getObjectByBuildingId(buildingId: String): List<ObjectEntity>
|
|
|
|
|
|
@Query("select * from object where floor_id = :floorId and obj_type=:type and valid = 1")
|