diff --git a/src/TrackCenter.Application/Services/TimerTaskss/TrackPullTask.cs b/src/TrackCenter.Application/Services/TimerTaskss/TrackPullTask.cs index 9a418b9d..6c41fdb1 100644 --- a/src/TrackCenter.Application/Services/TimerTaskss/TrackPullTask.cs +++ b/src/TrackCenter.Application/Services/TimerTaskss/TrackPullTask.cs @@ -28,7 +28,7 @@ public class TrackPullTask( ProvideQueries provideQueries, InterfaceForwardService interfaceForwardService, IOptions interfaceOptions) - : ApplicationServiceBase + : ApplicationServiceBase, ITransientDependency { /// /// 定时任务刷新轨迹 @@ -40,7 +40,7 @@ public class TrackPullTask( public virtual async Task RefreshForTaskAsync() { var configs = await trackPullConfigRepository.AsQueryable() - .LeftJoin((a, b) => a.Id == b.TrackPullConfigId) + .InnerJoin((a, b) => a.Id == b.TrackPullConfigId) .Select((a, b) => new TrackPullConfigVo { // tips:去读priority表,根据客户看用哪个订单号类型拉