diff --git a/RIZO.Admin.WebApi/PLC/Model/PlcProductionData.cs b/RIZO.Admin.WebApi/PLC/Model/PlcProductionData.cs index c34d50a..803a41b 100644 --- a/RIZO.Admin.WebApi/PLC/Model/PlcProductionData.cs +++ b/RIZO.Admin.WebApi/PLC/Model/PlcProductionData.cs @@ -12,7 +12,7 @@ namespace RIZO.Admin.WebApi.PLC.Model /// /// 主键ID /// - [SugarColumn(IsPrimaryKey = false, IsIdentity = true)] + [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } ///