|
|
@ -118,7 +118,7 @@ public class SparePartIssueJobAppService |
|
|
|
sparePartJob.JobStatus == EnumJobStatus.Doing) |
|
|
|
{ |
|
|
|
await _expectOutAppService.RemoveByNumberAsync(sparePartJob.Number).ConfigureAwait(false); |
|
|
|
await _transferLibRequestAppService.CancelByCallRequestNumberAsync(sparePartJob.SparePartRequestNumber) |
|
|
|
await _transferLibRequestAppService.CompleteByJobNumAsync(sparePartJob.SparePartRequestNumber) |
|
|
|
.ConfigureAwait(false); |
|
|
|
|
|
|
|
sparePartJob.JobStatus = EnumJobStatus.Cancelled; |
|
|
@ -277,7 +277,7 @@ public class SparePartIssueJobAppService |
|
|
|
|
|
|
|
await SparePartIssueRequestAppService.UpdateStatusCompletedAsync(sparePartIssueJob.SparePartRequestNumber) |
|
|
|
.ConfigureAwait(false); |
|
|
|
await _transferLibRequestAppService.CompleteByCallRequestNumberAsync(sparePartIssueJob.SparePartRequestNumber) |
|
|
|
await _transferLibRequestAppService.CompleteByJobNumAsync(sparePartIssueJob.Number) |
|
|
|
.ConfigureAwait(false); |
|
|
|
|
|
|
|
await _repository.UpdateAsync(sparePartIssueJob).ConfigureAwait(false); |
|
|
@ -631,6 +631,8 @@ public class SparePartIssueJobAppService |
|
|
|
await SparePartIssueRequestAppService.UpdateStatusCompletedAsync(sparePartIssueJob.SparePartRequestNumber) |
|
|
|
.ConfigureAwait(false); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await Task.CompletedTask.ConfigureAwait(false); |
|
|
|
} |
|
|
|
|
|
|
|