From 3571d8b2231e06e46774af86be502014d6974e1d Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 07 四月 2026 16:16:53 +0800
Subject: [PATCH] 优化ERP接收单据逻辑,一期领料变更逻辑修改

---
 项目代码/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs"
index 9c53d8a..30da889 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Model/Models/PackInfo/Dt_Packaxis.cs"
@@ -8,14 +8,14 @@
 
 namespace WIDESEAWCS_Model.Models
 {
-    [SugarTable(nameof(Dt_Packaxis), "鐮佸灈鍧愭爣")]
+    [SugarTable(nameof(Dt_Packaxis), "鐮佸灈鍧愭爣琛�")]
     public class Dt_Packaxis : BaseEntity
     {
         /// <summary>
         /// 涓婚敭
         /// </summary>
         [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
-        public int id { get; set; }
+        public int? Id { get; set; }
 
         /// <summary>
         /// 璁惧缂栧彿
@@ -26,20 +26,20 @@
         /// <summary>
         /// 绔欏彴缂栧彿
         /// </summary>
-        [SugarColumn(IsNullable = true, ColumnDescription = "绔欏彴缂栧彿")]
-        public int StationCode { get; set; }
+        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "绔欏彴缂栧彿")]
+        public string StationCode { get; set; }
 
         /// <summary>
         /// 鍨涘瀷
         /// </summary>
-        [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鍨涘瀷")]
-        public string PackType { get; set; }
+        [SugarColumn(IsNullable = false, ColumnDescription = "鍨涘瀷")]
+        public int PackType { get; set; }
 
         /// <summary>
         /// 鐮佸灈鏁伴噺
         /// </summary>
         [SugarColumn(IsNullable = true, ColumnDescription = "鐮佸灈鏁伴噺")]
-        public int PackNum { get; set; }
+        public int PackNum { get; set; } = 0;
 
         /// <summary>
         /// X鍧愭爣
@@ -95,10 +95,7 @@
         [SugarColumn(IsNullable = true,  ColumnDescription = "Z鍧愭爣闂磋窛")]
         public int AxisZSpacing { get; set; }
 
-        /// <summary>
-        /// 澶囨敞
-        /// </summary>
-        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "澶囨敞")]
+        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "澶囨敞")]
         public string Remark { get; set; }
     }
 }

--
Gitblit v1.9.3