|
|
|
@ -387,8 +387,8 @@ namespace DS.WMS.Core.Application.Method
|
|
|
|
|
dto.AmountOther = dto.Details.FindAll(x => x.OriginalCurrency != FeeCurrency.RMB_CODE && x.OriginalCurrency != FeeCurrency.USD_CODE).Sum(x => x.RestAmount);
|
|
|
|
|
|
|
|
|
|
result.AdditionalData ??= [];
|
|
|
|
|
var ids = dto.Details.Select(x => x.RecordId);
|
|
|
|
|
var fees = await TenantDb.Queryable<FeeRecord>().Where(f => ids.Contains(f.Id) && f.FeeType == FeeType.Receivable)
|
|
|
|
|
var recordIds = dto.Details.Select(x => x.RecordId);
|
|
|
|
|
var fees = await TenantDb.Queryable<FeeRecord>().Where(f => recordIds.Contains(f.Id) && f.FeeType == FeeType.Receivable)
|
|
|
|
|
.Select(f => new
|
|
|
|
|
{
|
|
|
|
|
f.Currency,
|
|
|
|
|