attach
This commit is contained in:
parent
60571b3224
commit
16541d998d
@ -171,7 +171,7 @@ public class ForewarningNotifyService : IForewarningNotifyService, ITransientDep
|
||||
Counter = entry.Counter,
|
||||
IsLast = rule.WarnCount == entry.Counter,
|
||||
OrderId = entry.OrderId,
|
||||
OrderNo = orderNoDict[entry.OrderId],
|
||||
OrderNo = orderNoDict.TryGetValue(entry.OrderId, out var orderNo) ? orderNo : string.Empty,
|
||||
WarningStatus = WarningStatus.UnProcessed,
|
||||
NotifyUserId = notifyUser.UserId,
|
||||
NotifyUserName = notifyUser.UserName,
|
||||
|
||||
@ -49,6 +49,7 @@ public class OrderWarningService : ApplicationService
|
||||
var item = new GetOrderWarningPageOutput
|
||||
{
|
||||
SubSystemName = x.SubSystemName,
|
||||
OrderNo = x.OrderNo,
|
||||
Rule = x.Rule,
|
||||
Counter = x.Counter,
|
||||
IsLast = x.IsLast,
|
||||
|
||||
@ -105,6 +105,7 @@ public class WarningQueries : ISugarRepository, IWarningQueries,
|
||||
Id = x.Id,
|
||||
Name = x.OrderNo
|
||||
})
|
||||
.Filter(null, true)
|
||||
.ToListAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user