From ce43535d56152482c1f12e6b13ba3377bd268009 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期二, 13 八月 2024 13:42:28 +0800
Subject: [PATCH] 期初入库扫码,接受erp发送的用户数据时,在写入MES用户表时增加部分默认字段

---
 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