|
@ -18,6 +18,8 @@ import io.swagger.annotations.ApiParam;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
/***
|
|
/***
|
|
* @ClassName: DetectionPlatformEndpoint
|
|
* @ClassName: DetectionPlatformEndpoint
|
|
* @Description: 社区云照护平台--物联网健康监测展示平台 v1.0.0
|
|
* @Description: 社区云照护平台--物联网健康监测展示平台 v1.0.0
|
|
@ -35,6 +37,18 @@ public class DetectionPlatformEndpoint extends EnvelopRestEndpoint {
|
|
@Autowired
|
|
@Autowired
|
|
private PatientDeviceService patientDeviceService;
|
|
private PatientDeviceService patientDeviceService;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("环境信息")
|
|
|
|
@RequestMapping(value = "envMessage", method = RequestMethod.GET)
|
|
|
|
public ObjEnvelop envMessage(@ApiParam(name = "patientId", value = "居民id", defaultValue = "1")
|
|
|
|
@RequestParam(value = "patientId", required = true) String patientId){
|
|
|
|
try {
|
|
|
|
return success(patientDeviceService.envMessage(patientId));
|
|
|
|
} catch (Exception ex) {
|
|
|
|
return failedObjEnvelopException(ex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
/**************************v1.1.0新增 设备异常动态************************************/
|
|
/**************************v1.1.0新增 设备异常动态************************************/
|
|
@GetMapping(value = "getHealthMonitoringListNew")
|
|
@GetMapping(value = "getHealthMonitoringListNew")
|
|
@ApiOperation(value = "体征监测/安防监护")
|
|
@ApiOperation(value = "体征监测/安防监护")
|