Compare commits
2 Commits
6ccd000785
...
fc80657dc5
| Author | SHA1 | Date | |
|---|---|---|---|
| fc80657dc5 | |||
| f7d7e9e551 |
@@ -26,6 +26,7 @@ public class HeartBeatService {
|
|||||||
return ServerResponseEntity.fail("Invalid accessToken");
|
return ServerResponseEntity.fail("Invalid accessToken");
|
||||||
}
|
}
|
||||||
DeviceInfoDAO deviceInfoDAO = getDeviceInfoBySN(deviceInfo.getSN());
|
DeviceInfoDAO deviceInfoDAO = getDeviceInfoBySN(deviceInfo.getSN());
|
||||||
|
logger.info("deviceInfoDAO: {}",deviceInfoDAO);
|
||||||
if (deviceInfoDAO == null) {
|
if (deviceInfoDAO == null) {
|
||||||
// 设备信息不存在,可能是无效的设备
|
// 设备信息不存在,可能是无效的设备
|
||||||
boolean isSuccess = addDeviceInfo(deviceInfo);
|
boolean isSuccess = addDeviceInfo(deviceInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user