wanshenmean
2026-02-05 c388f1acccd0b7e76a4366fbaddaca6551826b74
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -416,11 +416,11 @@
                string oldCurrentPos = task.CurrentAddress;
                string oldNextPos = task.NextAddress;
                List<Dt_Router> routers = _routerService.QueryNextRoutes(task.NextAddress, task.TargetAddress);
                if (!routers.Any()) throw new Exception($"未找到设备路由信息");
                Dt_Router routers = _routerService.QueryNextRoute(task.CurrentAddress);
                if (routers == null) throw new Exception($"未找到设备路由信息");
                task.CurrentAddress = task.NextAddress;
                task.NextAddress = routers.FirstOrDefault().ChildPosi;
                task.NextAddress = routers.ChildPosi;
                task.ModifyDate = DateTime.Now;
                task.Modifier = "System";