From b5bc0d6eb2d2e55ea830a1b286252b9754cbf8e9 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 21 八月 2024 11:21:04 +0800
Subject: [PATCH] 更新主从表添加、修改、删除时对从表的对应操作

---
 WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocolDetail.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocolDetail.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocolDetail.cs
index bd60d94..4dcdbb5 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocolDetail.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocolDetail.cs
@@ -21,6 +21,7 @@
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEAWCS_Core.DB.Models;
 
 namespace WIDESEAWCS_QuartzJob.Models
 {
@@ -28,7 +29,7 @@
     /// 璁惧鍗忚鏄庣粏
     /// </summary>
     [SugarTable(nameof(Dt_DeviceProtocolDetail), "璁惧鍗忚鏄庣粏")]
-    public class Dt_DeviceProtocolDetail
+    public class Dt_DeviceProtocolDetail : BaseEntity
     {
         /// <summary>
         /// 涓婚敭
@@ -46,7 +47,7 @@
         /// 璁惧鍗忚鍙傛暟鍚嶇О
         /// </summary>
         [SugarColumn(IsNullable = false, ColumnDescription = "璁惧鍗忚鍙傛暟鍚嶇О")]
-        public string DeviceProParamName {  get; set; }
+        public string DeviceProParamName { get; set; }
 
         /// <summary>
         /// 璁惧鍗忚鏄庣粏绫诲瀷

--
Gitblit v1.9.3