From cae9e1ebdb3f65c75aba5f703c97a857c6e44f38 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期一, 13 一月 2025 16:00:15 +0800 Subject: [PATCH] 阀门图表导入bug 修复 --- Service/HStation.Service.Assets.Core/02-model/04-Fourlink/AssetsFourlinkMain.cs | 31 ++++++++++++++++++++++++++----- 1 files changed, 26 insertions(+), 5 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/04-Fourlink/AssetsFourlinkMain.cs b/Service/HStation.Service.Assets.Core/02-model/04-Fourlink/AssetsFourlinkMain.cs index 4f38927..42d5bef 100644 --- a/Service/HStation.Service.Assets.Core/02-model/04-Fourlink/AssetsFourlinkMain.cs +++ b/Service/HStation.Service.Assets.Core/02-model/04-Fourlink/AssetsFourlinkMain.cs @@ -6,7 +6,7 @@ /// 涓氬姟绔� /// </summary> [SysType("assets_fourlink_main")] - public class AssetsFourlinkMain : BaseModel, ISorter, System.ICloneable + public class AssetsFourlinkMain : BaseModel, ISorter, IFlags, IParas, ITagName, System.ICloneable { /// <summary> /// @@ -18,23 +18,29 @@ { this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; - this.KeyWord = rhs.KeyWord; this.MinorLoss = rhs.MinorLoss; this.Caliber = rhs.Caliber; this.Material = rhs.Material; + this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); + this.Flags = rhs.Flags?.ToList(); + this.KeyWords = rhs.KeyWords; + this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(AssetsFourlinkMain rhs) { - this.ID = rhs.ID; + this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; + this.KeyWords = rhs.KeyWords; this.MinorLoss = rhs.MinorLoss; this.Caliber = rhs.Caliber; this.Material = rhs.Material; + this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); + this.Flags = rhs.Flags?.ToList(); + this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; - this.Name = rhs.Name; this.Description = rhs.Description; } @@ -66,7 +72,22 @@ /// <summary> /// 璇嗗埆鍏抽敭瀛� /// </summary> - public List<string> KeyWord { get; set; } + public List<string> KeyWords { get; set; } + + /// <summary> + /// 鍙傛暟 + /// </summary> + public Dictionary<string, string> Paras { get; set; } + + /// <summary> + /// 鏍囩 + /// </summary> + public List<string> Flags { get; set; } + + /// <summary> + /// 鏍囧織 + /// </summary> + public string TagName { get; set; } /// <summary> /// 鎺掑簭鐮� -- Gitblit v1.9.3