|
@ -139,9 +139,9 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
@GetMapping(value = "getPatientDeviceInfoWithDetail")
|
|
@GetMapping(value = "getPatientDeviceInfoWithDetail")
|
|
@ApiOperation("获取居民设备列表(带设备电量、预警情况、是否在线等信息)")
|
|
@ApiOperation("获取居民设备列表(带设备电量、预警情况、是否在线等信息)")
|
|
public ObjEnvelop getPatientDeviceInfoWithDetail(@ApiParam(name="patient",value = "居民id",required = false)
|
|
public ObjEnvelop getPatientDeviceInfoWithDetail(@ApiParam(name="patient",value = "居民id",required = false)
|
|
@RequestParam(value = "patient")String patient,
|
|
|
|
|
|
@RequestParam(value = "patient",required = false)String patient,
|
|
@ApiParam(name="deviceSn",value = "设备SN",required = false)
|
|
@ApiParam(name="deviceSn",value = "设备SN",required = false)
|
|
@RequestParam(value = "deviceSn")String deviceSn){
|
|
|
|
|
|
@RequestParam(value = "deviceSn",required = false)String deviceSn){
|
|
try {
|
|
try {
|
|
return ObjEnvelop.getSuccess("查询成功",patientInfoPlatFormService.getPatientDeviceInfoWithDetail(patient,deviceSn));
|
|
return ObjEnvelop.getSuccess("查询成功",patientInfoPlatFormService.getPatientDeviceInfoWithDetail(patient,deviceSn));
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|