Commit 155bed23 authored by 李科's avatar 李科

fix: 预警工单是否处置判断

parent 34f672ee
...@@ -75,6 +75,7 @@ func (a *AlertListSvc) GetDataById(req request.DetailAlertList) (resp response.A ...@@ -75,6 +75,7 @@ func (a *AlertListSvc) GetDataById(req request.DetailAlertList) (resp response.A
DisposalTime: now, DisposalTime: now,
}, },
}, },
IsDisposed: 2,
CloseRemark: "", CloseRemark: "",
CloseUser: "", CloseUser: "",
DeferPush: 0, DeferPush: 0,
...@@ -165,6 +166,7 @@ func (a *AlertListSvc) List(req request.ListAlertList) (resp response.AlertListL ...@@ -165,6 +166,7 @@ func (a *AlertListSvc) List(req request.ListAlertList) (resp response.AlertListL
DisposalTime: now, DisposalTime: now,
}, },
}, },
IsDisposed: 2,
CloseRemark: "", CloseRemark: "",
CloseUser: "", CloseUser: "",
DeferPush: 0, DeferPush: 0,
...@@ -235,6 +237,15 @@ func (a *AlertListSvc) List(req request.ListAlertList) (resp response.AlertListL ...@@ -235,6 +237,15 @@ func (a *AlertListSvc) List(req request.ListAlertList) (resp response.AlertListL
PushCount: 1, PushCount: 1,
LastPushTime: now, LastPushTime: now,
Status: 3, Status: 3,
DisposedList: []entity.DisposedList{
{
IsDisposed: 1,
DisposalContent: "已做处置",
DisposalUser: "xiaowang",
DisposalTime: now,
},
},
IsDisposed: 1,
CloseRemark: "关闭备注", CloseRemark: "关闭备注",
CloseUser: "xiaowang", CloseUser: "xiaowang",
CloseTime: now, CloseTime: now,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment