事件数据存储,但是展示有问题,还需找解决方案

This commit is contained in:
ChenYi 2026-01-06 17:30:38 +08:00
parent b14df70fa0
commit 4172cfce13

View File

@ -219,9 +219,20 @@ namespace JiShe.IoT.IoTPlatformAggregation
{
if (!string.IsNullOrWhiteSpace(input.FiledType) && input.FiledType.ToLowerInvariant().Contains("event"))
{
return OneNETAllThingModel.GetAllEventsSelectResult(oneNETAllThingModel.Events);
var tempEventResult = OneNETAllThingModel.GetAllEventsSelectResult(oneNETAllThingModel.Events);
if (tempEventResult != null)
{
selectResults.AddRange(tempEventResult);
}
}
return OneNETAllThingModel.GetAllPropertiesSelectResult(oneNETAllThingModel.Properties);
var tempPropertyCacheResult = OneNETAllThingModel.GetAllPropertiesSelectResult(oneNETAllThingModel.Properties);
if (tempPropertyCacheResult != null)
{
selectResults.AddRange(tempPropertyCacheResult);
}
return selectResults;
}
var oneNetProductInfos = await _oneNetProductService.GetProductInfoAsync(new IdInput<string>() { Id = input.IoTPlatformProductId });