Merge branch 'dev'
commit
fc80657dc5
|
|
@ -26,6 +26,7 @@ public class HeartBeatService {
|
|||
return ServerResponseEntity.fail("Invalid accessToken");
|
||||
}
|
||||
DeviceInfoDAO deviceInfoDAO = getDeviceInfoBySN(deviceInfo.getSN());
|
||||
logger.info("deviceInfoDAO: {}",deviceInfoDAO);
|
||||
if (deviceInfoDAO == null) {
|
||||
// 设备信息不存在,可能是无效的设备
|
||||
boolean isSuccess = addDeviceInfo(deviceInfo);
|
||||
|
|
|
|||
Loading…
Reference in New Issue