From d7fe0f4c66b134fca43bca44b1161c0e4aa28bcb Mon Sep 17 00:00:00 2001
From: chengsc <11752@DESKTOP-DS49RCP>
Date: 星期一, 10 三月 2025 15:27:52 +0800
Subject: [PATCH] 修改入库问题

---
 Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs b/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs
index 176002a..f3f3ab6 100644
--- a/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs
+++ b/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs
@@ -646,10 +646,10 @@
                     .LeftJoin<BllArrivalNoticeDetail>((a, b) => a.ASNDetailNo == b.Id)
                     .LeftJoin<SysUserInfor>((a, b, c) => a.CreateUser == c.Id)
                     .LeftJoin<SysUserInfor>((a, b, c, d) => a.UpdateUser == d.Id)
-                    .LeftJoin<SysStorageLocat>((a, b, c, d, e) => a.LocatNo == e.LocatNo)
-                    .LeftJoin<SysWareHouse>((a, b, c, d, e,f) => a.WareHouseNo == f.WareHouseNo)
-                    //.LeftJoin<BllBoxInfo>((a, b, c, d, e, f) => a.Id == e.BindNo)
-                    .Select((a, b, c, d,e,f) => new PalletBindDto()
+                    //.LeftJoin<SysStorageLocat>((a, b, c, d, e) => a.LocatNo == e.LocatNo)
+                    .LeftJoin<SysWareHouse>((a, b, c, d,f) => a.WareHouseNo == f.WareHouseNo)
+                    .LeftJoin<SysStorageRoadway>((a, b, c, d, f,g) => a.RoadwayNo == g.RoadwayNo)
+                    .Select((a, b, c, d,f,g) => new PalletBindDto()
                     {
                         Id = a.Id,
                         ASNNo = a.ASNNo,
@@ -660,6 +660,7 @@
                         PalletNo3 = a.PalletNo3,
                         LocatNo = a.LocatNo,
                         RoadwayNo = a.RoadwayNo,
+                        RoadwayName = g.RoadwayName,
                         WareHouseNo = a.WareHouseNo,
                         WareHouseName = a.WareHouseNo+"-"+f.WareHouseName,
                         Qty = a.Qty,

--
Gitblit v1.8.0