From 0715c83e871f949c2d257f7d817054100fb767ad Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Mon, 2 Dec 2024 13:49:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E8=A3=85=E9=85=8DAGV?= =?UTF-8?q?=E5=8F=AB=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AssembleIssueJobAppService.cs | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs index c86024a0b..ea0dd2559 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs @@ -851,9 +851,9 @@ public class AssembleIssueJobAppService } [HttpPost("call-back-agv")] - public virtual async Task CallBackAgvAsync(IssueRequestFromRestoDTO input) + public virtual async Task CallBackAgvAsync(string jobNumber, string itemCode,decimal qty,string lot, string postionLocationCode) { - return null; + } #endregion @@ -1116,13 +1116,13 @@ public class AssembleIssueJobAppService errors.Add($"结束点{detail.EndPosition}库位没查到"); } - LocationDTO tolocation = null; + LocationDTO toLocation = null; if (toloc != null) { - tolocation = await _locationAppService.GetByCodeAsync(toloc.Code).ConfigureAwait(false); + toLocation = await _locationAppService.GetByCodeAsync(toloc.Code).ConfigureAwait(false); } - if (tolocation == null) + if (toLocation == null) { errors.Add($"结束点{detail.EndPosition}库位没查到"); } @@ -1136,12 +1136,12 @@ public class AssembleIssueJobAppService var dto = new AssembleIssueJobDetailDTO(); dto.InjectFrom(entity); - dto.HandledToLocationCode = toloc.Code; - dto.HandledToLocationGroup = tolocation.LocationGroupCode; - dto.HandledToLocationArea = tolocation.AreaCode; - dto.HandledToLocationErpCode = tolocation.ErpLocationCode; + dto.HandledToLocationCode = toLocation.Code; + dto.HandledToLocationGroup = toLocation.LocationGroupCode; + dto.HandledToLocationArea = toLocation.AreaCode; + dto.HandledToLocationErpCode = toLocation.ErpLocationCode; - dto.HandledToWarehouseCode = tolocation.WarehouseCode; + dto.HandledToWarehouseCode = toLocation.WarehouseCode; dto.HandledToQty = detail.MatQty; dto.HandledToLot =!string.IsNullOrEmpty(detail.BatchAttr07)? detail.BatchAttr07: string.Empty; dto.HandledToPackingCode = string.Empty; @@ -1156,10 +1156,6 @@ public class AssembleIssueJobAppService dto.HandledFromPackingCode = string.Empty; details.Add(dto); - - - - //await ExecuteDetailExtAsync(itm.Id, entity.Id, dto).ConfigureAwait(false); }