|
@ -205,6 +205,8 @@ public class CountJobAppService |
|
|
return item; |
|
|
return item; |
|
|
} |
|
|
} |
|
|
protected async Task<BalanceDTO> CheckPackingCodeAsync(CountJobImportInput importInput, List<ValidationResult> validationRresult, string locationCode) |
|
|
protected async Task<BalanceDTO> CheckPackingCodeAsync(CountJobImportInput importInput, List<ValidationResult> validationRresult, string locationCode) |
|
|
|
|
|
{ |
|
|
|
|
|
if (!string.IsNullOrEmpty(importInput.PackingCode)) |
|
|
{ |
|
|
{ |
|
|
var item = await _balanceAppService.GetByPackingCodeAsync(importInput.PackingCode).ConfigureAwait(false); |
|
|
var item = await _balanceAppService.GetByPackingCodeAsync(importInput.PackingCode).ConfigureAwait(false); |
|
|
if (item != null) |
|
|
if (item != null) |
|
@ -220,6 +222,9 @@ public class CountJobAppService |
|
|
} |
|
|
} |
|
|
return item; |
|
|
return item; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
} |
|
|
protected void CheckJobNumberAsync(CountJobImportInput importInput, List<ValidationResult> validationRresult,string jobNumber) |
|
|
protected void CheckJobNumberAsync(CountJobImportInput importInput, List<ValidationResult> validationRresult,string jobNumber) |
|
|
{ |
|
|
{ |
|
|
if (importInput.CountJobNumber != jobNumber) |
|
|
if (importInput.CountJobNumber != jobNumber) |
|
|