From 2b55ea83a98f5f5db2bb1e0576d54b583f017128 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 14 八月 2024 13:45:11 +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