|
@ -314,8 +314,8 @@ public class SecurityMonitoringOrderService extends BaseJpaService<SecurityMonit
|
|
|
try {
|
|
|
JSONObject monitorUrl = ysDeviceServicel.getDeviceLiveAddress(orderDO.getPatient(),devicePatientDeviceDos.get(0).getDeviceSn(),1,null);
|
|
|
Map<String,Object> map = new HashMap<>();
|
|
|
// map.put("monitorInfoStatus",result.getIntValue(ResponseContant.resultFlag));
|
|
|
if (result.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail){
|
|
|
map.put("monitorInfoStatus",result.getIntValue(ResponseContant.resultFlag));
|
|
|
if (monitorUrl.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail){
|
|
|
map.put("monitorInfo",monitorUrl.getString(ResponseContant.resultMsg));
|
|
|
}
|
|
|
else {
|
|
@ -1162,7 +1162,7 @@ public class SecurityMonitoringOrderService extends BaseJpaService<SecurityMonit
|
|
|
try {
|
|
|
JSONObject monitorUrl = ysDeviceServicel.getDeviceLiveAddress(patient,devicePatientDeviceDos.get(0).getDeviceSn(),1,null);
|
|
|
result.put("monitorInfoStatus",result.getIntValue(ResponseContant.resultFlag));
|
|
|
if (result.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail){
|
|
|
if (monitorUrl.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail){
|
|
|
result.put("monitorInfo",monitorUrl.getString(ResponseContant.resultMsg));
|
|
|
}
|
|
|
else {
|