|
@ -676,17 +676,14 @@ public class MonitorPlatformController extends EnvelopRestEndpoint {
|
|
|
return success( iotPatientDeviceService.getNameAndCode(idCard,snCode));
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value="/getEquipmentDetail",method = RequestMethod.GET)
|
|
|
@GetMapping(value="/getEquipmentDetail")
|
|
|
@ApiOperation("健康小屋详情")
|
|
|
public String getjkxwxqy(@RequestParam(value = "deviceSn",required = true)
|
|
|
public Envelop getEquipmentDetail(@RequestParam(value = "deviceSn",required = true)
|
|
|
@ApiParam(name="deviceSn",value ="设备SN码",required = true)String deviceSn){
|
|
|
|
|
|
try {
|
|
|
return monitorPlatformService.getEquipmentDetail(deviceSn);
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return error(-1,"查询失败");
|
|
|
}
|
|
|
|
|
|
return success(monitorPlatformService.getEquipmentDetail(deviceSn));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|