From 91ce12227476cf87aa5672a741d9ca6eb6bf508c Mon Sep 17 00:00:00 2001
From: libo <Administrator@DESKTOP-1A6QMNS>
Date: 星期一, 31 三月 2025 10:06:31 +0800
Subject: [PATCH] 优化堆垛机任务完成时写入完成代码逻辑

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/LocationInfoService.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/LocationInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/LocationInfoService.cs"
index 48335f6..7bd3e0f 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/LocationInfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/LocationInfoService.cs"
@@ -31,7 +31,7 @@
         {
             //{ nameof(Dt_LocationInfo.Depth), OrderByType.Desc },
             { nameof(Dt_LocationInfo.Layer), OrderByType.Asc },
-            { nameof(Dt_LocationInfo.Column), OrderByType.Asc },
+            { nameof(Dt_LocationInfo.Column), OrderByType.Desc },
             { nameof(Dt_LocationInfo.Row), OrderByType.Asc },
         };
 
@@ -90,10 +90,11 @@
                 {
                     return EmptyAssignLocation(roadwayInfo.RoadwayNo,palletCode);
                 }
-                else if (inboundType == TaskTypeEnum.Inbound.ObjToInt())
+                else if (inboundType == TaskTypeEnum.Inbound.ObjToInt()|| inboundType == TaskTypeEnum.PalletReturnInbound.ObjToInt())
                 {
                     return StoredAssignLocation(roadwayInfo.RoadwayNo,palletCode);
                 }
+         
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3