|
@ -119,7 +119,13 @@ public class ThirdLocationJobAppService |
|
|
await LocalEventBus.PublishAsync(new SfsClosedEntityEventData<ThirdLocationJob>(thirdLocationJob), false).ConfigureAwait(false); |
|
|
await LocalEventBus.PublishAsync(new SfsClosedEntityEventData<ThirdLocationJob>(thirdLocationJob), false).ConfigureAwait(false); |
|
|
await Repository.UpdateAsync(thirdLocationJob).ConfigureAwait(false); |
|
|
await Repository.UpdateAsync(thirdLocationJob).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
//await _thirdLocationJobManager.CloseAsync(thirdLocationJob).ConfigureAwait(false);
|
|
|
} |
|
|
|
|
|
else if (thirdLocationJob.JobStatus == EnumJobStatus.Open) |
|
|
|
|
|
{ |
|
|
|
|
|
thirdLocationJob.JobStatus = EnumJobStatus.Closed; |
|
|
|
|
|
await Task.CompletedTask.ConfigureAwait(false); |
|
|
|
|
|
await LocalEventBus.PublishAsync(new SfsClosedEntityEventData<ThirdLocationJob>(thirdLocationJob), false).ConfigureAwait(false); |
|
|
|
|
|
await Repository.UpdateAsync(thirdLocationJob).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|