From a8627a98b82d2364cbe849ca746e72fbab9916e5 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期三, 21 五月 2025 17:31:14 +0800 Subject: [PATCH] 重构代码修复事务问题,测试完善后台盘点功能 --- Models/TN_Location.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Models/TN_Location.cs b/Models/TN_Location.cs index cf19148..f0b724f 100644 --- a/Models/TN_Location.cs +++ b/Models/TN_Location.cs @@ -1,7 +1,7 @@ using SqlSugar; using System.Collections.Generic; -namespace HH.WCS.Mobox3.AnGang.Models { +namespace HH.WCS.Mobox3.AnGang.models { [SugarTable("TN_Location")] public class TN_Location : BaseModel { @@ -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