From ef839d119eec2c28fac5f5ba175d71f926afae44 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期二, 20 五月 2025 11:49:22 +0800
Subject: [PATCH] 修复数据库表字段不匹配、读取重量错误处理等逻辑

---
 Models/TN_Location.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Models/TN_Location.cs b/Models/TN_Location.cs
index cf19148..4674e6d 100644
--- a/Models/TN_Location.cs
+++ b/Models/TN_Location.cs
@@ -13,7 +13,7 @@
         /// <summary>
         /// 璐т綅鍚嶇О
         /// </summary>
-        public string S_NAME { get; set; }
+        public string S_NAME { get; set; } = "";
 
         /// <summary>
         /// 璐т綅鎵�湪鍖哄煙 ID
@@ -23,7 +23,7 @@
         /// <summary>
         /// 鍥借嚜 AGV 瀵瑰簲鐨勫簱浣嶅悕绉�         /// </summary>
-        public string S_AGV_SITE { get; set; }
+        public string S_AGV_SITE { get; set; } = "";
 
         /// <summary>
         /// 璐т綅瀹归噺
@@ -58,7 +58,7 @@
         /// <summary>
         /// 閿佺殑鏉ユ簮-浠诲姟鍙�         /// </summary>
-        public string S_LOCK_OP { get; set; }
+        public string S_LOCK_OP { get; set; } = "";
 
         [Navigate(NavigateType.OneToMany, nameof(TN_Loc_Container.S_LOC_CODE))]
         public List<TN_Loc_Container> LocCntrRels { get; set; }
@@ -77,6 +77,6 @@
         /// <summary>
         /// 璐ф灦缂栫爜
         /// </summary>
-        public string S_SHELF_CODE { get; set; }
+        public int N_ROW { get; set; }
     }
 }

--
Gitblit v1.9.1