From eaff2518ab6159c360ec2a865b45002b26fdc4cd Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期一, 19 八月 2024 14:25:47 +0800
Subject: [PATCH] 增加资产删除方法报错提醒

---
 Service/HStation.Service.Assets.Core/01-entity/PumpPartMain.cs |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/01-entity/PumpPartMain.cs b/Service/HStation.Service.Assets.Core/01-entity/PumpPartMain.cs
index 8ac7f8d..02ae70b 100644
--- a/Service/HStation.Service.Assets.Core/01-entity/PumpPartMain.cs
+++ b/Service/HStation.Service.Assets.Core/01-entity/PumpPartMain.cs
@@ -1,5 +1,4 @@
-锘縰sing SqlSugar;
-using Yw.Entity;
+锘縰sing Yw.Entity;
 
 namespace HStation.Entity
 {
@@ -8,7 +7,7 @@
     /// </summary>
     [SysType("xhs_pumpartmain")]
     [SugarTable("xhs_pumpartmain")]
-    public class PumpPartMain : BaseEntity, System.ICloneable
+    public class PumpPartMain : BaseEntity, ISorter, System.ICloneable
     {
         public PumpPartMain()
         { }
@@ -34,11 +33,16 @@
         public string Code { get; set; }
 
         /// <summary>
+        /// 鎺掑簭鐮�
+        /// </summary>
+        public int SortCode { get; set; }
+
+        /// <summary>
         ///
         /// </summary>
-        public PumpMain Clone()
+        public PumpPartMain Clone()
         {
-            return (PumpMain)this.MemberwiseClone();
+            return (PumpPartMain)this.MemberwiseClone();
         }
 
         object ICloneable.Clone()

--
Gitblit v1.9.3