From 7982d5d9fd37e2c17950f1b55103ac3e38321bda Mon Sep 17 00:00:00 2001 From: liguoyang Date: Mon, 15 Apr 2024 16:57:57 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BC=98=E5=85=88=E7=BA=A7=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.Entity/Device/Entities/DeviceTaskEntity.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Dlhis.Entity/Device/Entities/DeviceTaskEntity.cs b/Src/Dlhis.Entity/Device/Entities/DeviceTaskEntity.cs index 1399d6d4..d1c9ace1 100644 --- a/Src/Dlhis.Entity/Device/Entities/DeviceTaskEntity.cs +++ b/Src/Dlhis.Entity/Device/Entities/DeviceTaskEntity.cs @@ -68,8 +68,8 @@ public class DeviceTaskEntity : SugarBaseEntity, ITenantId, IVersion /// /// 优先级 /// - [SugarColumn(DefaultValue = "0")] - public int Priority { get; set; } = 0; + [SugarColumn(IsNullable = true, DefaultValue = "0")] + public int Priority { get; set; } = 0; public string TenantId { get; set; }