From a8af5ced635cb78f9d3562d1798208fa3ed3af13 Mon Sep 17 00:00:00 2001 From: wenjy Date: Mon, 19 May 2025 14:12:03 +0800 Subject: [PATCH] =?UTF-8?q?Init=20-=20=E5=88=9D=E5=A7=8B=E5=8C=96=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ems.CollectService.Entity/RecordWaterInstant.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ems.CollectService.Entity/RecordWaterInstant.cs b/Ems.CollectService.Entity/RecordWaterInstant.cs index 2a92a57..cdbd75f 100644 --- a/Ems.CollectService.Entity/RecordWaterInstant.cs +++ b/Ems.CollectService.Entity/RecordWaterInstant.cs @@ -13,7 +13,7 @@ namespace Ems.CollectService.Entity /// /// 自增标识 /// - [SugarColumn(ColumnName="objid" ,IsPrimaryKey = true )] + [SugarColumn(ColumnName = "objid", IsPrimaryKey = true, IsIdentity = true)] public int objid { get; set; } /// /// 计量设备编号