feat: psap support ticket notification

This commit is contained in:
zhangsz
2025-06-20 18:43:08 +08:00
parent 73ba248237
commit 9d1e2d6171
15 changed files with 147 additions and 10 deletions

View File

@@ -34,10 +34,10 @@ func (s *PsapTicketMonitor) Execute(data any) (any, error) {
"count": s.count,
}
// 处理超时的NEW状态工单 (30分钟)
// 处理超时的NEW状态工单 (60分钟)
newTicketsUpdated, err := s.handleTimeoutTickets(
ueCallBackTicket.TicketStatusNew.Enum(),
30*60*1000000, // 30分钟(微秒)
60*1000000, // 60分钟(微秒)
)
if err != nil {
logger.Errorf("处理NEW状态超时工单失败: %v", err)

View File

@@ -21,6 +21,8 @@ func (r NeInfo) neListSort(arr []model.NeInfo) []model.NeInfo {
"OMC",
"CBC",
"MF",
"IMS",
"SMSC",
}
// 创建优先级映射