Merge branch 'S02-轨迹中台' of http://192.168.80.50:3000/Dotnet/SJZY.Track.Api into S02-轨迹中台

This commit is contained in:
柳文翔 2024-03-15 17:50:31 +08:00
commit c30542024c
2 changed files with 4 additions and 3 deletions

View File

@ -76,7 +76,8 @@ public class TrackDeleteEventHandler : ITransientDependency, ICapSubscribe
TrackEnContent = track.TrackEnContent,
TrackPlace = track.TrackPlace,
TrackTime = track.TrackTime,
TrackTimeZone = track.TrackTimeZone
TrackTimeZone = track.TrackTimeZone,
IsDelete = true
};
await _capPublisher.PublishAsync(GlobalConst.UpdateOrderTrackSubscribe, updateOrderEvent);
}

View File

@ -59,8 +59,8 @@ public class TrackPushService : ApplicationService
{
var trackContent = trackContents.FirstOrDefault(x => x.SubSystemId == group.Key.SubSystemId);
if (trackContent == null) continue;
await _pushCacheService.GetPushContentConfigAsync(group.Key.SubSystemId, group.Key.CustomId,
trackContent.Id);
var config = await _pushCacheService.GetPushContentConfigAsync(group.Key.SubSystemId,
group.Key.CustomId, trackContent.Id);
var data = group.Select(x => new
{
x.OrderNo