Browse Source

更新返回字段

caiaf 4 years ago
parent
commit
2f44615ec0
1 changed files with 76 additions and 1 deletions
  1. 76 1
      数据接口文档.md

+ 76 - 1
数据接口文档.md

@@ -2314,4 +2314,79 @@ classstructureid:设备类型编号
         }
     ]
 }
-```
+```
+
+#### 查询机房平面布置图数量
+
+请求地址 GET /data/sms_location/queryCount?plazaId=1000772&system_code=1003
+
+参数说明
+```
+system_code:系统编号
+```
+返回结果
+
+```json
+{
+    "result": "success",
+    "count": 75
+}
+```
+
+#### 查询低压出线柜明细(为APP端页面展示,单独封装数据结构)
+
+请求地址 POST /data/sms_dygjcxline/queryDygjcxline?plazaId=1000772&page=1&size=10&keyword=123:drawernum,outspec
+
+参数说明
+```
+{
+    "locfl": 1003,//分类内码
+    "locflList": [],//分类内码
+    "pageable:{    //低压出线柜条数
+       "pageNumber":1,
+       "pageSize":50
+     }
+}
+```
+
+返回结果
+
+```json
+{
+    "result": "success",
+    "data": [
+        {
+            "data": [
+                {
+                    "glsms_proimgupid": 37206,//图id
+                    "outspec": "-", //出线规格
+                    "control": "进线", //控制回路
+                    "floor": "-", //楼层
+                    "drawernum": "1-1AA" //抽屉编号
+                },
+                {
+                    "glsms_proimgupid": 37206,
+                    "outspec": "4*185+1*95",
+                    "control": "步行街分区1营业用电",
+                    "floor": "B2",
+                    "drawernum": "1-4AA-1"
+                },
+            
+                {
+                    "glsms_proimgupid": 37206,
+                    "outspec": "4*95+1*50",
+                    "control": "步行街货梯2主",
+                    "floor": "1F",
+                    "drawernum": "2-12AA-9"
+                }
+            ],
+            "count": 3,
+            "location": "1054",
+            "wzjc": "商业楼/B2/停车场/变电所/大商1号变电所"
+        }
+         
+    ],
+    "count": 3
+}
+```
+