|
@ -504,7 +504,7 @@ public class MonitorPlatformService {
|
|
|
* @param hospital
|
|
|
* @return
|
|
|
*/
|
|
|
public JSONArray totalRange(String startTime,String endTime,
|
|
|
public JSONObject totalRange(String startTime,String endTime,
|
|
|
String deviceType,String area,String hospital,String quotaCode){
|
|
|
String url = "/wlyygc/iot_monitoring/totalRange";
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@ -517,10 +517,10 @@ public class MonitorPlatformService {
|
|
|
String response = sendGet(url,params);
|
|
|
JSONObject json = JSONObject.parseObject(response);
|
|
|
if(json.getInteger("status")==200){
|
|
|
return json.getJSONArray("data");
|
|
|
return json.getJSONObject("data");
|
|
|
}
|
|
|
|
|
|
return new JSONArray();
|
|
|
return new JSONObject();
|
|
|
}
|
|
|
/**
|
|
|
* 慢病患者设备使用率
|
|
@ -531,7 +531,7 @@ public class MonitorPlatformService {
|
|
|
* @param hospital
|
|
|
* @return
|
|
|
*/
|
|
|
public JSONArray diseaseUseRange(String startTime,String endTime,
|
|
|
public JSONObject diseaseUseRange(String startTime,String endTime,
|
|
|
String deviceType,String area,String hospital){
|
|
|
String url = "/wlyygc/iot_monitoring/diseaseUseRange";
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@ -543,10 +543,10 @@ public class MonitorPlatformService {
|
|
|
String response = sendGet(url,params);
|
|
|
JSONObject json = JSONObject.parseObject(response);
|
|
|
if(json.getInteger("status")==200){
|
|
|
return json.getJSONArray("data");
|
|
|
return json.getJSONObject("data");
|
|
|
}
|
|
|
|
|
|
return new JSONArray();
|
|
|
return new JSONObject();
|
|
|
}
|
|
|
/**
|
|
|
* 慢病患者设备覆盖率
|
|
@ -557,7 +557,7 @@ public class MonitorPlatformService {
|
|
|
* @param hospital
|
|
|
* @return
|
|
|
*/
|
|
|
public JSONArray diseaseRange(String startTime,String endTime,
|
|
|
public JSONObject diseaseRange(String startTime,String endTime,
|
|
|
String deviceType,String area,String hospital){
|
|
|
String url = "/wlyygc/iot_monitoring/diseaseRange";
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@ -569,10 +569,10 @@ public class MonitorPlatformService {
|
|
|
String response = sendGet(url,params);
|
|
|
JSONObject json = JSONObject.parseObject(response);
|
|
|
if(json.getInteger("status")==200){
|
|
|
return json.getJSONArray("data");
|
|
|
return json.getJSONObject("data");
|
|
|
}
|
|
|
|
|
|
return new JSONArray();
|
|
|
return new JSONObject();
|
|
|
}
|
|
|
|
|
|
/**
|
|
@ -584,7 +584,7 @@ public class MonitorPlatformService {
|
|
|
* @param hospital
|
|
|
* @return
|
|
|
*/
|
|
|
public JSONArray yellowOrRedRange(String startTime,String endTime,
|
|
|
public JSONObject yellowOrRedRange(String startTime,String endTime,
|
|
|
String deviceType,String area,String hospital,Integer diseaseCondition){
|
|
|
String url = "/wlyygc/iot_monitoring/yellowOrRedRange";
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@ -597,10 +597,10 @@ public class MonitorPlatformService {
|
|
|
String response = sendGet(url,params);
|
|
|
JSONObject json = JSONObject.parseObject(response);
|
|
|
if(json.getInteger("status")==200){
|
|
|
return json.getJSONArray("data");
|
|
|
return json.getJSONObject("data");
|
|
|
}
|
|
|
|
|
|
return new JSONArray();
|
|
|
return new JSONObject();
|
|
|
}
|
|
|
/**
|
|
|
* 预警信息警报
|