细节调整

This commit is contained in:
yanghongwei 2025-04-05 18:34:21 +08:00
parent 7bd3c25f31
commit d71f65de45
1 changed files with 4 additions and 5 deletions

View File

@ -128,11 +128,10 @@ namespace LY.App.Service
deviceinfo.Lat = input.product_lat;
deviceinfo.Lon = input.product_lon;
await _redisService.SetAsync(key, deviceinfo);
}
deviceinfo.Lat = input.product_lat;
deviceinfo.Lon = input.product_lon;
//更新位置
await _db.Updateable(deviceinfo).ExecuteCommandAsync();
// await _db.Updateable(deviceinfo).ExecuteCommandAsync();
await _db.Updateable<DeviceEntity>(deviceinfo).ExecuteCommandAsync();
}
}
private async Task<long> GetBatId(string droneId)
{