From b64efba9b005c074b3963c9d650091c70e46108b Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期四, 01 八月 2024 14:53:18 +0800
Subject: [PATCH] 采购入库单和消息中心重推送

---
 MES.Service/Modes/SysDepartment.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MES.Service/Modes/SysDepartment.cs b/MES.Service/Modes/SysDepartment.cs
index f80b5b1..f2b6669 100644
--- a/MES.Service/Modes/SysDepartment.cs
+++ b/MES.Service/Modes/SysDepartment.cs
@@ -23,7 +23,7 @@
     /// <summary>
     ///     閮ㄩ棬缂栧彿
     /// </summary>
-    [SugarColumn(ColumnName = "DEPARTMENTCODE", IsPrimaryKey = true)]
+    [SugarColumn(ColumnName = "DEPARTMENTCODE")]
     public string? Departmentcode { get; set; }
 
     /// <summary>
@@ -118,7 +118,7 @@
 
     /// <summary>
     /// </summary>
-    [SugarColumn(ColumnName = "ID")]
+    [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
     public decimal Id { get; set; }
 
     /// <summary>

--
Gitblit v1.9.3