From 86985a3e211ab4cc1e94a696c15a6f77d21c462a Mon Sep 17 00:00:00 2001
From: chengsc <Demo@DESKTOP-CPA90BF>
Date: 星期二, 15 十月 2024 18:36:51 +0800
Subject: [PATCH] 修改出库单据问题

---
 Wms/WMS.BLL/BllSoServer/ExportNoticeDetailServer.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeDetailServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeDetailServer.cs
index 3b27db8..85fa002 100644
--- a/Wms/WMS.BLL/BllSoServer/ExportNoticeDetailServer.cs
+++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeDetailServer.cs
@@ -40,12 +40,15 @@
                     .LeftJoin<SysPackag>((a,b)=> a.PackagNo == b.PackagNo)
                     .LeftJoin<SysUserInfor>((a,b,c)=> a.CreateUser == c.Id)
                     .LeftJoin<SysUserInfor>((a,b,c,d)=> a.UpdateUser == d.Id)
-                    .Select((a, b, c, d) => new ExportNoticeDetailDto()
+                    .LeftJoin<BllExportNotice>((a, b, c, d, e) => a.SONo == e.SONo)
+                    .Select((a, b, c, d, e) => new ExportNoticeDetailDto()
                     {
                         Id = a.Id,
                         Status = a.Status,
                         Origin = notice.Origin,
                         SONo = a.SONo,
+                        Type = e.Type,
+                        StatusZ = e.Status,
                         SkuNo = a.SkuNo,
                         SkuName = a.SkuName,
                         Standard = a.Standard,

--
Gitblit v1.8.0