fix:修复获取完整预警明细轨迹状态分割异常
This commit is contained in:
parent
2df9911cc1
commit
d474d3b008
@ -134,7 +134,7 @@ public class CompleteWarningService : ApplicationService
|
||||
|
||||
// todo:缓存优化
|
||||
var trackStatusIds = result.List
|
||||
.SelectMany(x => x.MissingTrackStatusIds.Split(',').Select(int.Parse))
|
||||
.SelectMany(x => x.GetMissingTrackStatusIdGroups().SelectMany(y => y))
|
||||
.ToHashSet();
|
||||
var trackStatusDict = (await _trackStatusRepository.GetListAsync(x => trackStatusIds.Contains(x.Id), x => new
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user