配送申请,生成预任务新增,起终点位Id

This commit is contained in:
yang.lee
2023-11-23 16:29:26 +08:00
parent 763b56dd91
commit 31c4deb0e2
3 changed files with 4 additions and 1 deletions

View File

@@ -370,6 +370,7 @@ namespace Tnb.WarehouseMgr
await db.Ado.BeginTranAsync();
List<string> endPointIds = disTasks.Where(t => t.area_code.StartsWith("ELE", StringComparison.OrdinalIgnoreCase)).Select(t => t.endpoint_id).ToList();
Logger.Information($"endPointIds:{string.Join(",", endPointIds)}");
if (endPointIds?.Count > 0)
{
elevatorList = elevatorList.FindAll(x => endPointIds.Contains(x.point_id));