1.bugfix:缺少特性

2.无人机查询添加查询字段
main
陈伟 2025-10-15 09:48:22 +08:00
parent 9398410000
commit bd0d14ba6f
2 changed files with 4 additions and 2 deletions

View File

@ -2908,15 +2908,16 @@ namespace OpenAuth.App.ServiceApp
SELECT
b.""Id"" AS DronePortId,
b.""Name"" AS DronePortName,
u.""Sn"",b.""GateWay"",
ST_AsText ( b.""WorkArea"" ) AS coverage_wkt,
ST_AsText ( tp.geom ) AS point_location,
u.""Sn""
ST_AsText ( tp.geom ) AS point_location
FROM
lasa_droneport b left join lasa_uav u on u.""PId"" = b.""Id"",
target_point tp
WHERE
ST_Covers ( b.""WorkArea"", tp.geom )
AND b.""IsDelete"" = 'false' and u.""IsDelete"" = 'false'
";
var x = await Repository.AsSugarClient().SqlQueryable<dynamic>(sql).ToListAsync();
return new Response<dynamic>

View File

@ -81,6 +81,7 @@ public class LasaAircraftController : ControllerBase
{
return await _app.StartLiveStreaming(id);
}
[HttpPost]
public async Task<Response<bool>> StopLiveStreaming(string id)
{
return await _app.StopLiveStreaming(id);