fix 取消device字段

This commit is contained in:
cheche
2024-01-12 10:25:41 +08:00
parent 43a13a137f
commit cd2dedc4f4
2 changed files with 1 additions and 12 deletions

View File

@@ -37,6 +37,7 @@ public class DeviceService : IDeviceService
}
[Transactional]
[IgnoreTenant]
public async Task SaveAsync(DeviceSaveRequest request)
{
await CheckUniqueNoExistsAsync(request);

View File

@@ -96,17 +96,5 @@ public class DeviceEntity : SugarBaseEntity, ITenantId
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用")]
public bool Enable { get; set; }
/// <summary>
/// 设备类型
/// </summary>
[SugarColumn(ColumnDescription = "设备类型")]
public string DeviceType { get; set; }
/// <summary>
/// 使用场景
/// </summary>
[SugarColumn(ColumnDescription = "使用场景")]
public string Scenes { get; set; }
public string TenantId { get; set; }
}