From d2a1ccd801f942381723c5a6001989d8da8ba6f5 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 04 十一月 2025 20:56:08 +0800
Subject: [PATCH] 优化盘点逻辑

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_DeliveryOrderDetail.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_DeliveryOrderDetail.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_DeliveryOrderDetail.cs"
index 0814c88..fc0aba6 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_DeliveryOrderDetail.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_DeliveryOrderDetail.cs"
@@ -28,6 +28,9 @@
         [SugarColumn(ColumnName = "Order_qty", IsNullable = true, ColumnDescription = "鍑哄簱閫�璐ф椂涓鸿礋鏁�")]
         public decimal Order_qty { get; set; }
 
+        [SugarColumn (ColumnName = "Order_Outqty", IsNullable = true, ColumnDescription = "鍑哄簱瀹屾垚鏁伴噺")]
+        public decimal Order_Outqty { get; set; }
+
         [SugarColumn(ColumnName = "Batch_num", IsNullable = true, Length = 50, ColumnDescription = "鎵瑰彿")]
         public string  Batch_num { get; set; }
 
@@ -43,12 +46,13 @@
         public string OotDetailStatus { get; set; }
 
 
-        [SugarColumn(ColumnName = "Status",IsNullable =true, ColumnDescription = "涓嬫父鐘舵�侊紝鍚屾鐘舵�侊細0鏈悓姝ワ紝1宸插悓姝ワ紙鍚屾鍙戠粰wcs锛�")]
+        [SugarColumn(ColumnName = "Status",IsNullable =true, ColumnDescription = "涓嬫父鐘舵�侊紝鍚屾鐘舵�侊細0鏈悓姝ワ紝1宸插悓姝ワ紙鍚屾鍙戠粰wcs锛�,2鏃犻渶鍚屾锛堝钩搴撶殑锛�")]
         public int Status { get; set; }
 
         // 瀵艰埅灞炴�э細涓�涓槑缁嗗搴斾竴涓嵂鍝佷俊鎭�
-        [Navigate(NavigateType.OneToOne, nameof(Goods_no), nameof(Dt_MedicineGoods.Goods_no))]
-        public Dt_MedicineGoods MedicineGoods { get; set; }
+        // 淇瀵艰埅灞炴�э細浣跨敤 Goods_no 鍏宠仈 MaterielCode
+        [Navigate(NavigateType.OneToOne, nameof(Goods_no), nameof(Dt_MaterielInfo.MaterielCode))]
+        public Dt_MaterielInfo MedicineGoods { get; set; }
 
         //鏄惁闇�瑕佷笅闈㈢殑瀛楁
         //sku鍚嶇О productName

--
Gitblit v1.9.3