Merge branch 'dev'
This commit is contained in:
@@ -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