From dfea94129c7d203aaaab8d0f6514aee74258e6a1 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期三, 11 十二月 2024 16:49:00 +0800 Subject: [PATCH] 日志更新,回料移库入库区域 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs" index 4983032..6ee819d 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs" @@ -381,7 +381,7 @@ WebResponseContent content = new WebResponseContent(); List<Dt_LocationInfo> loca = new List<Dt_LocationInfo>(); Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == TaskNum); - if (task == null) + if (task != null) { return content = WebResponseContent.Instance.Error($"鏈壘鍒拌浠诲姟淇℃伅锛屼换鍔″彿锛歿TaskNum}"); } @@ -440,9 +440,9 @@ { string[] targetCodesst = dt_StockInfo.PalletCode.Split("*"); Dt_InboundOrder dt_Inbound = _inboundService.InbounOrderService.Repository.QueryFirst(x => x.OrderName == targetCodesst[0]); - if (dt_Inbound.Startingcolumn != 0 || dt_Inbound.Startingcolumn != 0) + if (dt_Inbound.Startingcolumn != 0 || dt_Inbound.Terminationcolumn != 0) { - newLocation = _basicService.LocationInfoService.GetLocation2(locationInfos.RoadwayNo, Locationtype, dt_Inbound.Startingcolumn, dt_Inbound.Startingcolumn); + newLocation = _basicService.LocationInfoService.GetLocation2(locationInfos.RoadwayNo, Locationtype, dt_Inbound.Startingcolumn, dt_Inbound.Terminationcolumn); } else { -- Gitblit v1.9.3