From 966d1fe6077c885db064fcea98bb48cbccb464d6 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 14 十月 2024 17:23:02 +0800
Subject: [PATCH] WCS

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StorageOutOrderRepository/OutboundOrder/Dt_OutOrderAndStock_HtyRepository.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageOutOrderRepository/OutboundOrder/Dt_OutOrderAndStock_HtyRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageOutOrderRepository/OutboundOrder/Dt_OutOrderAndStock_HtyRepository.cs"
index 4896967..5cfcf89 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageOutOrderRepository/OutboundOrder/Dt_OutOrderAndStock_HtyRepository.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageOutOrderRepository/OutboundOrder/Dt_OutOrderAndStock_HtyRepository.cs"
@@ -14,10 +14,8 @@
     public bool InsertNav(Dt_OutOrderAndStock_Hty stock)
     {
         return Db.InsertNav(stock)
-                .Include(x => x.OrderList)
-                .Include(x => x.OrderDetailList)
-                .Include(x => x.StockList)
-                .Include(x => x.StockDetailList)
+                .Include(x => x.OrderList).ThenInclude(x => x.orderDetailList)
+                .Include(x => x.StockList).ThenInclude(x => x.StockDetailList)
                 .ExecuteCommand();
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3