conn:预警返回新增字段--是否启用
This commit is contained in:
parent
29624edec3
commit
7cebc4ee37
@ -22,6 +22,11 @@ public class WarningPageOutput
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string Name { get; set; } = null!;
|
public string Name { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否启用,默认否
|
||||||
|
/// </summary>
|
||||||
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 更新时间
|
/// 更新时间
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -53,6 +53,7 @@ public class WarningRepository : BasicRepository<WarningEntity>, IWarningReposit
|
|||||||
SubSystem = b.CnName,
|
SubSystem = b.CnName,
|
||||||
Custom = c.Name,
|
Custom = c.Name,
|
||||||
Name = a.Name,
|
Name = a.Name,
|
||||||
|
IsEnable = a.IsEnable,
|
||||||
UpdateTime = a.UpdateTime
|
UpdateTime = a.UpdateTime
|
||||||
})
|
})
|
||||||
.ToPagedListAsync(input.PageIndex, input.PageSize);
|
.ToPagedListAsync(input.PageIndex, input.PageSize);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user