fix compilation

This commit is contained in:
2026-05-17 00:57:03 +08:00
parent b6d7e30b0d
commit 1ce7adcbba
4 changed files with 29 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ public class HeartbeatMonitorJob : IJob
foreach (var node in offlineNodes)
{
node.IsOnline = "离线";
await gwSvc.UpdateAsync(node);
gwSvc.Update(node);
await devSvc.UpdateAsync(x => x.GatewayNodeId == node.NodeId,
x => new base_device { IsOnline = "离线" });
}