From 31c4deb0e27ff462439944f3fbf03e091c4eeb24 Mon Sep 17 00:00:00 2001 From: "yang.lee" Date: Thu, 23 Nov 2023 16:29:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E9=80=81=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E7=94=9F=E6=88=90=E9=A2=84=E4=BB=BB=E5=8A=A1=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=EF=BC=8C=E8=B5=B7=E7=BB=88=E7=82=B9=E4=BD=8DId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs | 1 + WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs | 2 +- WarehouseMgr/Tnb.WarehouseMgr/WmsDeliveryService.cs | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs index 88a86f13..5cc5d655 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs @@ -370,6 +370,7 @@ namespace Tnb.WarehouseMgr await db.Ado.BeginTranAsync(); List 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)); diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs index 40701195..5a870070 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs @@ -580,7 +580,7 @@ namespace Tnb.WarehouseMgr csCode.checkstock_d_id = checkStockDMap.ContainsKey($"{csCode.carry_id}{csCode.material_id}{csCode.code_batch}") ? checkStockDMap[$"{csCode.carry_id}{csCode.material_id}{csCode.code_batch}"] : ""; } //插入 盘点code表 - await _db.Insertable(checkStockCodes).ExecuteCommandAsync(); + _ = await _db.Insertable(checkStockCodes).ExecuteCommandAsync(); var detailIds = checkStockCodes.Select(x => x.checkstock_d_id).ToList(); var checkStockDs = await _db.Queryable().Where(it => detailIds.Contains(it.id)).ToListAsync(); foreach (var csd in checkStockDs) diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsDeliveryService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsDeliveryService.cs index 37d9f22b..86e185a3 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsDeliveryService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsDeliveryService.cs @@ -148,7 +148,9 @@ namespace Tnb.WarehouseMgr org_id = _userManager.User.OrganizeId, startlocation_id = sPoint?.location_id!, startlocation_code = sPoint?.location_code!, + startpoint_id = sPoint?.id, startpoint_code = sPoint?.point_code, + endpoint_id = ePoint?.id, endpoint_code = ePoint?.point_code, endlocation_id = ePoint?.location_id!, endlocation_code = ePoint?.location_code!,