From b39f01141a3ec0dfff105647a485033f7cf27dc7 Mon Sep 17 00:00:00 2001
From: duyongjia <adu_555@163.com>
Date: 星期五, 28 二月 2025 09:02:26 +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