fix 取消device字段
This commit is contained in:
@@ -37,6 +37,7 @@ public class DeviceService : IDeviceService
|
||||
}
|
||||
|
||||
[Transactional]
|
||||
[IgnoreTenant]
|
||||
public async Task SaveAsync(DeviceSaveRequest request)
|
||||
{
|
||||
await CheckUniqueNoExistsAsync(request);
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user