轨迹回放加入飞手位置

This commit is contained in:
yanghongwei 2025-03-31 21:44:50 +08:00
parent bb1466689b
commit a17cf970cb
1 changed files with 3 additions and 1 deletions

View File

@ -158,6 +158,8 @@ namespace LY.App.Service
Lon = s.drone_lon,
Lat = s.drone_lat,
Alt = s.height,
s.app_lat,
s.app_lon,
s.CreateTime,
AlarmLevel = s.alarmLevel,
}).ToListAsync();
@ -259,7 +261,7 @@ namespace LY.App.Service
.WhereIF(input.strartDate.HasValue, st => st.CreateTime >= input.strartDate.Value)
.WhereIF(input.endDate.HasValue, st => st.CreateTime <= input.endDate.Value.AddDays(1))
.OrderBy(s => s.BatchId, OrderByType.Desc)
.GroupBy(s => new { s.BatchId, s.serial_number, s.device_type, s.positionId, s.PostionName ,s.freq})
.GroupBy(s => new { s.BatchId, s.serial_number, s.device_type, s.positionId, s.PostionName, s.freq })
.Select(st => new AlarmRepDto
{
batchId = st.BatchId.ToString(),