From 7a3d178b414201f7c3af3d000468159cfead00ed Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期日, 23 六月 2024 21:38:38 +0800
Subject: [PATCH] 增加解压文件,和登录用户信息

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/00-ViewModel/ProjectViewModel.cs |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/00-ViewModel/ProjectViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/00-ViewModel/ProjectViewModel.cs
index 06d9111..b8bb478 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/00-ViewModel/ProjectViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/00-ViewModel/ProjectViewModel.cs
@@ -13,6 +13,7 @@
             this.PrjNumber = rhs.PrjNumber;
             this.Flags = rhs.Flags;
             this.TagName = rhs.TagName;
+            this.Address = rhs.Address;
             this.UseStatus = rhs.UseStatus;
             this.SortCode = rhs.SortCode;
             this.Description = rhs.Description;
@@ -21,7 +22,7 @@
             this.CreateUserID = rhs.CreateUserID;
             this.Version = rhs.Version;
             this.MapPosition = rhs.MapPosition;
-            this.CreateDisplayName = CreateUserID.ToString();
+            this.CreateUserDisplayName = rhs.CreateUserDisplayName;
         }
 
         public void Reset(ProjectViewModel rhs)
@@ -38,7 +39,7 @@
             this.CreateUserID = rhs.CreateUserID;
             this.Version = rhs.Version;
             this.MapPosition = rhs.MapPosition;
-            this.CreateDisplayName = CreateUserID.ToString();
+            this.CreateUserDisplayName = rhs.CreateUserDisplayName;
         }
 
         public void Reset(UpdateXhsProjectInput rhs)
@@ -55,12 +56,7 @@
             this.CreateUserID = rhs.CreateUserID;
             this.Version = rhs.Version;
             this.MapPosition = rhs.MapPosition;
-            this.CreateDisplayName = CreateUserID.ToString();
+            this.CreateUserDisplayName = rhs.CreateUserDisplayName;
         }
-
-        /// <summary>
-        /// 鍒涘缓浜烘樉绀哄悕瀛�
-        /// </summary>
-        public string CreateDisplayName { get; set; }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3