瀏覽代碼

**************************************万达adm**********************************************
提交

zhangweixin 4 年之前
父節點
當前提交
95f1516896

+ 5 - 1
data-core/src/main/kotlin/com/persagy/server/datacenter/datacenter/dao/mappers/SchemeMapper.kt

@@ -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>