|
@@ -57,10 +57,10 @@ public class SpaceServiceImpl implements SpaceService {
|
|
|
@Override
|
|
|
public ReturnMsg getBuildingSituation() {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("builtArea", 112893);
|
|
|
+ jsonObject.put("builtArea", 32277);
|
|
|
jsonObject.put("layersInt", 21);
|
|
|
- jsonObject.put("serviceLife", 60);
|
|
|
- jsonObject.put("constructionPeriod", 80);
|
|
|
+ jsonObject.put("serviceLife", 15);
|
|
|
+ jsonObject.put("constructionPeriod", 15);
|
|
|
return ReturnMsg.ok(jsonObject);
|
|
|
}
|
|
|
|
|
@@ -211,19 +211,19 @@ public class SpaceServiceImpl implements SpaceService {
|
|
|
public ReturnMsg getSpaceOverview() {
|
|
|
JSONArray jsonArray = new JSONArray();
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("total", 2000);
|
|
|
- jsonObject.put("occupancy", 1800);
|
|
|
- jsonObject.put("percentage", 0.75);
|
|
|
+ jsonObject.put("total", 18);
|
|
|
+ jsonObject.put("occupancy", 14);
|
|
|
+ jsonObject.put("percentage", 0.77);
|
|
|
|
|
|
JSONObject jsonObject2 = new JSONObject();
|
|
|
- jsonObject2.put("total", 2000);
|
|
|
- jsonObject2.put("occupancy", 1800);
|
|
|
- jsonObject2.put("percentage", 0.97);
|
|
|
+ jsonObject2.put("total", 274);
|
|
|
+ jsonObject2.put("occupancy",160 );
|
|
|
+ jsonObject2.put("percentage", 0.58);
|
|
|
|
|
|
JSONObject jsonObject3 = new JSONObject();
|
|
|
- jsonObject3.put("total", 2000);
|
|
|
- jsonObject3.put("occupancy", 1800);
|
|
|
- jsonObject3.put("percentage", 0.93);
|
|
|
+ jsonObject3.put("total", 244);
|
|
|
+ jsonObject3.put("occupancy", 94);
|
|
|
+ jsonObject3.put("percentage", 0.38);
|
|
|
jsonArray.add(jsonObject);
|
|
|
jsonArray.add(jsonObject2);
|
|
|
jsonArray.add(jsonObject3);
|