fix: 遗漏datapermission问题
This commit is contained in:
@@ -31,6 +31,7 @@ public class DevicePermissionsController : ControllerBase
|
||||
/// <returns></returns>
|
||||
[HttpPost("assign")]
|
||||
[Transactional]
|
||||
[DataPermission]
|
||||
[CrossTenant]
|
||||
public async Task<DevicePermissionAssignResponse> AssignAsync(DevicePermissionSaveRequest request)
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ public class DevicePermissionEntity : SugarBaseEntity, ITenantId, ISoftDeleted
|
||||
public AssignTypeEnumType AssignType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分配值
|
||||
/// 分配值(User,Role,Group...)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "分配值")]
|
||||
public string AssignValue { get; set; }
|
||||
@@ -32,7 +32,7 @@ public class DevicePermissionEntity : SugarBaseEntity, ITenantId, ISoftDeleted
|
||||
public DeviceAssignmentTypeEnumType UniqueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型值
|
||||
/// 设备/设备组/用户组
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "类型值")]
|
||||
public Guid UniqueValue { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user