|
@@ -177,7 +177,7 @@ public class QueryInfluxdbDataServiceImpl extends AbstractCrudService<QueryInflu
|
|
|
dmpDeviceInfo.setTenantId(productMapVO.getTenantId());
|
|
dmpDeviceInfo.setTenantId(productMapVO.getTenantId());
|
|
|
dmpDeviceInfo.setServiceStatus(1);
|
|
dmpDeviceInfo.setServiceStatus(1);
|
|
|
if(StringUtils.isBlank(deviceUUId)){
|
|
if(StringUtils.isBlank(deviceUUId)){
|
|
|
- dmpDeviceInfo.setDeviceUuid(UUIDUtils.uuid());
|
|
|
|
|
|
|
+ dmpDeviceInfo.setDeviceUuid(UUIDUtils.uuid().substring(0,16));
|
|
|
}else{
|
|
}else{
|
|
|
dmpDeviceInfo.setDeviceUuid(deviceUUId);
|
|
dmpDeviceInfo.setDeviceUuid(deviceUUId);
|
|
|
}
|
|
}
|
|
@@ -216,7 +216,7 @@ public class QueryInfluxdbDataServiceImpl extends AbstractCrudService<QueryInflu
|
|
|
dmpDeviceInfo.setTenantId(productMapVO.getTenantId());
|
|
dmpDeviceInfo.setTenantId(productMapVO.getTenantId());
|
|
|
dmpDeviceInfo.setServiceStatus(1);
|
|
dmpDeviceInfo.setServiceStatus(1);
|
|
|
if(StringUtils.isBlank(deviceUUId)){
|
|
if(StringUtils.isBlank(deviceUUId)){
|
|
|
- dmpDeviceInfo.setDeviceUuid(UUIDUtils.uuid());
|
|
|
|
|
|
|
+ dmpDeviceInfo.setDeviceUuid(UUIDUtils.uuid().substring(0,16));
|
|
|
}else{
|
|
}else{
|
|
|
dmpDeviceInfo.setDeviceUuid(deviceUUId);
|
|
dmpDeviceInfo.setDeviceUuid(deviceUUId);
|
|
|
}
|
|
}
|