From efc637372040aa3f6e3f75b425a9d619fd076d13 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Thu, 13 Jun 2024 16:09:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=95=B0=E6=8D=AE=E6=9D=83=E9=99=90?= =?UTF-8?q?=E5=A4=84=E7=90=86=E6=B3=A8=E8=A7=A3tenantid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs | 2 ++ Src/Dlhis.Entity/Dlhis.Entity.csproj | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs b/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs index fdf970e8..baf9ed79 100644 --- a/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs +++ b/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs @@ -1,5 +1,6 @@ using Dlhis.Entity.Basic.Enums; using Kurisu.AspNetCore.DataAccess.SqlSugar; +using Kurisu.AspNetCore.DataAccess.SqlSugar.Attributes; using SqlSugar; using SqlSugar.DbConvert; @@ -164,6 +165,7 @@ public class GainfoEntity : SugarBaseEntity /// /// 厂区 /// + [TenantId] [SugarColumn(ColumnDescription = "厂区")] public string Factory { get; set; } diff --git a/Src/Dlhis.Entity/Dlhis.Entity.csproj b/Src/Dlhis.Entity/Dlhis.Entity.csproj index c1fb8f72..6f550900 100644 --- a/Src/Dlhis.Entity/Dlhis.Entity.csproj +++ b/Src/Dlhis.Entity/Dlhis.Entity.csproj @@ -7,7 +7,7 @@ - +