|
@@ -127,7 +127,11 @@ interface SchemeMapper {
|
|
|
@Select("SELECT floor_id AS id FROM public.equipment WHERE project_id = #{projectId} AND NOT floor_id IS NULL GROUP BY floor_id")
|
|
|
fun floorId(@Param("projectId") projectId: String):ArrayList<Building>
|
|
|
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 统计楼层id
|
|
|
+ */
|
|
|
+ @Select("SELECT building_id FROM public.zone_space_base WHERE project_id = #{projectId} AND object_type = #{zoneType} GROUP BY building_id")
|
|
|
+ fun spbuildingId(@Param("projectId") projectId: String,@Param("zoneType") zoneType: String):ArrayList<Building>
|
|
|
|
|
|
|
|
|
|