fix 数据权限处理注解tenantid
This commit is contained in:
@@ -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
|
||||
/// <summary>
|
||||
/// 厂区
|
||||
/// </summary>
|
||||
[TenantId]
|
||||
[SugarColumn(ColumnDescription = "厂区")]
|
||||
public string Factory { get; set; }
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Kurisu.AspNetCore" Version="0.9.16" />
|
||||
<PackageReference Include="Kurisu.AspNetCore" Version="0.9.17" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user