Commit ba31f418 by 黄小葱

删除不必要的代码

1 parent c6eaebab
...@@ -109,23 +109,4 @@ public class GpsBsApiController implements GpsBsService { ...@@ -109,23 +109,4 @@ public class GpsBsApiController implements GpsBsService {
return R.ok().data(deviceLocaBoList); return R.ok().data(deviceLocaBoList);
} }
/**
* 设备监控信息
* @param request
* @return
*/
@ApiOperation(value = "车辆监控信息")
@GetMapping(value = "/devicemonitorinfo2")
@Override
public R<List<DeviceLocationBo>> listDeviceMonitorInfo2(DeviceLocationRequest request) {
if (!DeviceTypeRelationEnum.findByDeviceCode(request.getDeviceCode()).equals(DeviceTypeRelationEnum.GPS)) {
return R.error(BussinessExceptionEnum.UNSUPORT_DEVICE.getCode(), BussinessExceptionEnum.UNSUPORT_DEVICE.getMessage());
}
//离线时间
Long offlineTime = ConstantsDevice.OFFLINE_TIME_OTHER;
List<DeviceLocationBo> deviceLocaBoList = monitorService.getDeviceMonitorInfo(request.getSns(), offlineTime,
DeviceTypeRelationEnum.findByDeviceCode(request.getDeviceCode()));
return R.ok().data(deviceLocaBoList);
}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!