细节调整
This commit is contained in:
parent
7bd3c25f31
commit
d71f65de45
|
|
@ -128,11 +128,10 @@ namespace LY.App.Service
|
|||
deviceinfo.Lat = input.product_lat;
|
||||
deviceinfo.Lon = input.product_lon;
|
||||
await _redisService.SetAsync(key, deviceinfo);
|
||||
//更新位置
|
||||
// await _db.Updateable(deviceinfo).ExecuteCommandAsync();
|
||||
await _db.Updateable<DeviceEntity>(deviceinfo).ExecuteCommandAsync();
|
||||
}
|
||||
deviceinfo.Lat = input.product_lat;
|
||||
deviceinfo.Lon = input.product_lon;
|
||||
//更新位置
|
||||
await _db.Updateable(deviceinfo).ExecuteCommandAsync();
|
||||
}
|
||||
private async Task<long> GetBatId(string droneId)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue