fix 处理已知问题

This commit is contained in:
2024-06-22 18:19:13 +08:00
parent cf04fb01ad
commit 49201f2e49
16 changed files with 219 additions and 318 deletions

View File

@@ -1,4 +1,5 @@
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Basic.Entity
@@ -7,7 +8,7 @@ namespace Dlhis.Entity.Basic.Entity
/// 档案人员组关系
/// </summary>
[SugarTable(TableName = "GainfoGroupRelationship", TableDescription = "档案人员组关系")]
public class GainfoGroupRelationshipEntity : SugarBaseEntity
public class GainfoGroupRelationshipEntity : SugarBaseEntity , ISoftDeleted
{
/// <summary>
/// 分组code
@@ -19,5 +20,9 @@ namespace Dlhis.Entity.Basic.Entity
/// </summary>
[SugarColumn(ColumnDescription = "人员档案号")]
public string UserNo { get; set; }
/// <inheritdoc />
public bool IsDeleted { get; set; }
}
}

View File

@@ -8,7 +8,7 @@ namespace Dlhis.Entity.Device.Entities;
/// 设备组/设备关系
/// </summary>
[SugarTable(TableName = "DeviceGroupRelationship", TableDescription = "设备组/设备关系")]
public class DeviceGroupRelationshipEntity : SugarBaseEntity, ITenantId
public class DeviceGroupRelationshipEntity : SugarBaseEntity, ITenantId, ISoftDeleted
{
/// <summary>
/// 设备组code
@@ -23,4 +23,7 @@ public class DeviceGroupRelationshipEntity : SugarBaseEntity, ITenantId
public Guid DeviceCode { get; set; }
public string TenantId { get; set; }
/// <inheritdoc />
public bool IsDeleted { get; set; }
}

View File

@@ -10,7 +10,7 @@ namespace Dlhis.Entity.Sys.Entities;
/// 设备权限
/// </summary>
[SugarTable(TableName = "DevicePermission", TableDescription = "设备权限")]
public class DevicePermissionEntity : SugarBaseEntity, ITenantId
public class DevicePermissionEntity : SugarBaseEntity, ITenantId, ISoftDeleted
{
/// <summary>
/// 分配权限类型(User,Role,Group...)
@@ -38,4 +38,7 @@ public class DevicePermissionEntity : SugarBaseEntity, ITenantId
public string TenantId { get; set; }
/// <inheritdoc />
public bool IsDeleted { get; set; }
}