对接前端
This commit is contained in:
parent
4e334f2869
commit
0d4be31cc1
@ -93,13 +93,13 @@ public class TrackDeleteEventHandler : ITransientDependency, ICapSubscribe
|
||||
|
||||
// 订单循环关联检测
|
||||
var dup = @event.Visited.Intersect(@event.OrderIds).ToArray();
|
||||
if (!dup.Any())
|
||||
if (dup.Any())
|
||||
{
|
||||
LogHelper.Warn($"删除轨迹时,发现循环依赖:{dup.JoinAsString(",")}", true);
|
||||
return false;
|
||||
}
|
||||
|
||||
LogHelper.Warn($"删除轨迹时,发现循环依赖:{dup.JoinAsString(",")}", true);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private async Task DeleteTrackAsync(TrackDeleteEvent @event)
|
||||
|
||||
@ -159,6 +159,7 @@ public class ForewarningHelper
|
||||
StartTrackStatusId = x.StartTrackStatusId,
|
||||
EndTrackStatusId = x.EndTrackStatusId,
|
||||
NotifyMode = x.NotifyModes.JoinAsString(","),
|
||||
NotifyUser = x.NotifyUsers.JoinAsString(","),
|
||||
NotifyUserId = x.NotifyUserIds.JoinAsString(","),
|
||||
}).ToList();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user