From ce7b3298b4d586206996c0bc7ef9b71ab9790dc1 Mon Sep 17 00:00:00 2001
From: lg <999544862qq.com>
Date: 星期四, 15 八月 2024 16:51:34 +0800
Subject: [PATCH] 增加了?

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

diff --git a/MES.Service/Modes/MesSupplier.cs b/MES.Service/Modes/MesSupplier.cs
index 7269980..8736c2b 100644
--- a/MES.Service/Modes/MesSupplier.cs
+++ b/MES.Service/Modes/MesSupplier.cs
@@ -11,13 +11,13 @@
     /// <summary>
     ///     ID
     /// </summary>
-    [SugarColumn(ColumnName = "ID")]
+    [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
     public decimal Id { get; set; }
 
     /// <summary>
     ///     渚涘簲鍟嗙紪鐮�
     /// </summary>
-    [SugarColumn(ColumnName = "SUPP_NO", IsPrimaryKey = true)]
+    [SugarColumn(ColumnName = "SUPP_NO")]
     public string? SuppNo { get; set; }
 
     /// <summary>

--
Gitblit v1.9.3