From a0c41029992f7dc390c125247e84d0bfac972706 Mon Sep 17 00:00:00 2001
From: xuefei <564615061@qq.com>
Date: 星期日, 13 十二月 2020 14:23:26 +0800
Subject: [PATCH] 养老机构页面

---
 api.md |  246 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 245 insertions(+), 1 deletions(-)

diff --git a/api.md b/api.md
index 5406aff..4d36baa 100644
--- a/api.md
+++ b/api.md
@@ -1217,4 +1217,248 @@
         "count": 3
     }
 }
-銆併�併��
+```
+
+
+<h3 id='6'>鍏�佸吇鑰佹満鏋�</h2>
+<h4 id='6.1'>6.1鑾峰彇缁熻鏁版嵁</h4>
+###### 鎺ュ彛鍔熻兘
+> 鑾峰彇缁熻鏁版嵁
+
+###### URL
+> /api/fwyl/getStaticsData
+
+###### 鏀寔鏍煎紡
+> JSON
+
+###### HTTP璇锋眰鏂瑰紡
+> GET
+
+###### 璇锋眰鍙傛暟
+|鍙傛暟|蹇呴�墊绫诲瀷|璇存槑|
+|:-----  |:-------|:-----|-----                               |
+|  areaId  |  鏄�  |String |     鍖哄煙id                    |
+
+###### 杩斿洖瀛楁
+|杩斿洖瀛楁|瀛楁绫诲瀷|璇存槑                              |
+|:-----   |:------|:-----------------------------   |
+| sum  |  int  |  鍏昏�佹満鏋勬�绘暟 |
+| square  |  int  |  闈㈢Н |
+| bedNumber  |  int  |  搴婁綅鏁� |
+| nurseNumber  |  int  |  鎶ょ悊浜哄憳鏁� |
+| type0Num  |  int  |  鍏昏�侀櫌涓暟 |
+| type1Num  |  int  |  鏁�侀櫌涓暟 |
+| type2Num  |  int  |  鐤楀吇闄釜鏁� |
+
+###### 鎺ュ彛绀轰緥
+``` java
+{
+    "success": true,
+    "message": "success",
+    "code": 200,
+    "timestamp": 1607839952762,
+    "result": {
+        "sum": 3,
+        "square": 10100,
+        "bedNumber": 4020,
+        "nurseNumber": 557,
+        "type0Num": 3,
+        "type1Num": 0,
+        "type2Num": 0
+    }
+``` 
+<h4 id='6.2'>6.2搴婁綅涓暟鎺掑悕</h4>
+###### 鎺ュ彛鍔熻兘
+> 搴婁綅涓暟鎺掑悕
+
+###### URL
+> /api/fwyl/getBedNumList
+
+###### 鏀寔鏍煎紡
+> JSON
+
+###### HTTP璇锋眰鏂瑰紡
+> GET
+
+###### 璇锋眰鍙傛暟
+|鍙傛暟|蹇呴�墊绫诲瀷|璇存槑|
+|:-----  |:-------|:-----|-----                               |
+|  areaId  |  鏄�  |String |     鍖哄煙id                    |
+
+###### 杩斿洖瀛楁
+|杩斿洖瀛楁|瀛楁绫诲瀷|璇存槑                              |
+|:-----   |:------|:-----------------------------   |
+| name  |  String  |  鍏昏�佹満鏋勫悕绉� |
+| bedNumber  |  int  |  搴婁綅鏁� |
+
+###### 鎺ュ彛绀轰緥
+``` java
+{
+    "success": true,
+    "message": "success",
+    "code": 200,
+    "timestamp": 1607840268824,
+    "result": [
+        {
+            "id": "3",
+            "createBy": null,
+            "createTime": null,
+            "updateBy": null,
+            "updateTime": null,
+            "delFlag": 0,
+            "name": "鍏昏�侀櫌3",
+            "areaId": "1",
+            "type": 0,
+            "square": 5000,
+            "bedNumber": 4000,
+            "nurseNumber": 500,
+            "duixiangNumber": 3000
+        },
+        {
+            "id": "1",
+            "createBy": null,
+            "createTime": null,
+            "updateBy": null,
+            "updateTime": null,
+            "delFlag": 0,
+            "name": "鍏昏�侀櫌1",
+            "areaId": "1",
+            "type": 0,
+            "square": 100,
+            "bedNumber": 10,
+            "nurseNumber": 13,
+            "duixiangNumber": 12
+        },
+        {
+            "id": "2",
+            "createBy": null,
+            "createTime": null,
+            "updateBy": null,
+            "updateTime": null,
+            "delFlag": 0,
+            "name": "鍏昏�侀櫌2",
+            "areaId": "1",
+            "type": 0,
+            "square": 5000,
+            "bedNumber": 10,
+            "nurseNumber": 44,
+            "duixiangNumber": 12
+        }
+    ]
+``` 
+<h4 id='6.3'>6.3搴婁綅浣跨敤鐜囨帓鍚�</h4>
+###### 鎺ュ彛鍔熻兘
+> 搴婁綅浣跨敤鐜囨帓鍚�
+
+###### URL
+> /api/fwyl/getBedUseList
+
+###### 鏀寔鏍煎紡
+> JSON
+
+###### HTTP璇锋眰鏂瑰紡
+> GET
+
+###### 璇锋眰鍙傛暟
+|鍙傛暟|蹇呴�墊绫诲瀷|璇存槑|
+|:-----  |:-------|:-----|-----                               |
+|  areaId  |  鏄�  |String |     鍖哄煙id                    |
+
+###### 杩斿洖瀛楁
+|杩斿洖瀛楁|瀛楁绫诲瀷|璇存槑                              |
+|:-----   |:------|:-----------------------------   |
+| name  |  String  |  鍏昏�佹満鏋勫悕绉� |
+| num  |  int  |  浣跨敤鐜囷紙%锛� |
+
+###### 鎺ュ彛绀轰緥
+``` java
+{
+    "success": true,
+    "message": "success",
+    "code": 200,
+    "timestamp": 1607840400599,
+    "result": [
+        {
+            "name": "鍏昏�侀櫌1",
+            "num": 98
+        },
+        {
+            "name": "鍏昏�侀櫌2",
+            "num": 97
+        },
+        {
+            "name": "鍏昏�侀櫌3",
+            "num": 96
+        }
+    ]
+}
+``` 
+<h4 id='6.4'>6.4鍘嗗彶鏁版嵁</h4>
+###### 鎺ュ彛鍔熻兘
+> 鍘嗗彶鏁版嵁
+
+###### URL
+> /api/fwyl/getHistoryData
+
+###### 鏀寔鏍煎紡
+> JSON
+
+###### HTTP璇锋眰鏂瑰紡
+> GET
+
+###### 璇锋眰鍙傛暟
+|鍙傛暟|蹇呴�墊绫诲瀷|璇存槑|
+|:-----  |:-------|:-----|-----                               |
+|  areaId  |  鏄�  |String |     鍖哄煙id                    |
+
+###### 杩斿洖瀛楁
+|杩斿洖瀛楁|瀛楁绫诲瀷|璇存槑                              |
+|:-----   |:------|:-----------------------------   |
+| month  |  int  |  鏈堜唤 |
+| num  |  int  |  浣跨敤搴婁綅鏁� |
+| num1  |  int  |  鍗冧汉鍏昏�佸簥浣� |
+| num2 |  int  |  鍚屾瘮鍙樺寲 |
+| num3  |  int  |  鐜瘮鍙樺寲 |
+
+###### 鎺ュ彛绀轰緥
+``` java
+{
+    "success": true,
+    "message": "success",
+    "code": 200,
+    "timestamp": 1607840559733,
+    "result": {
+        "month": [
+            1,
+            2,
+            3,
+            4,
+            5,
+            6,
+            7,
+            8,
+            9,
+            10,
+            11,
+            12
+        ],
+        "num": [
+            11898,
+            9702,
+            9954,
+            12690,
+            9270,
+            10980,
+            11466,
+            14238,
+            12492,
+            14292,
+            10584,
+            9558
+        ],
+        "num1": 8,
+        "num2": 1,
+        "num3": -6
+    }
+}
+``` 
\ No newline at end of file

--
Gitblit v1.9.1