|
@ -138,12 +138,15 @@ public class TransactionAppService |
|
|
var locationDtos = await _locationAppService.GetAllAsync().ConfigureAwait(false); |
|
|
var locationDtos = await _locationAppService.GetAllAsync().ConfigureAwait(false); |
|
|
var balanceDtos = await _balanceAppService |
|
|
var balanceDtos = await _balanceAppService |
|
|
.GetAllListByFilterAsync(new SfsInventoryRequestInputBase()).ConfigureAwait(false); |
|
|
.GetAllListByFilterAsync(new SfsInventoryRequestInputBase()).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
|
|
|
var itemBasicDtos_i = await _itemBasicAppService.GetAllListByFilterAsync(new SfsBaseDataRequestInputBase()).ConfigureAwait(false); |
|
|
|
|
|
allItemBasicDtos = itemBasicDtos_i; |
|
|
|
|
|
|
|
|
if (!itemCodes.Any()) |
|
|
if (!itemCodes.Any()) |
|
|
{ |
|
|
{ |
|
|
var itemBasicDtos_i= await _itemBasicAppService.GetAllListByFilterAsync(new SfsBaseDataRequestInputBase()).ConfigureAwait(false); |
|
|
|
|
|
var itemBasicDtos_t = await _repository.GetListAsync().ConfigureAwait(false); |
|
|
var itemBasicDtos_t = await _repository.GetListAsync().ConfigureAwait(false); |
|
|
|
|
|
|
|
|
allItemBasicDtos = itemBasicDtos_i; |
|
|
|
|
|
allTransactions = itemBasicDtos_t; |
|
|
allTransactions = itemBasicDtos_t; |
|
|
|
|
|
|
|
|
itemCodes.AddRange(itemBasicDtos_i.Select(p => p.Code)); |
|
|
itemCodes.AddRange(itemBasicDtos_i.Select(p => p.Code)); |
|
|