|
|
@@ -484,7 +484,7 @@ public class DeviceInfoServiceImpl extends SuperService implements DeviceInfoSer
|
|
|
if (StringUtils.isEmpty(deviceId)) {
|
|
|
return null;
|
|
|
}
|
|
|
- DeviceInfo deviceInfo = deviceInfoDao.findTopById(deviceId);
|
|
|
+ DeviceInfo deviceInfo = deviceInfoDao.findTopByDeviceId(deviceId);
|
|
|
if (ObjectUtils.isNotEmpty(deviceInfo)) {
|
|
|
return toModel(deviceInfo);
|
|
|
}
|