|
|
@ -6,19 +6,18 @@ using Volo.Abp.Domain.Services; |
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Domain.Fawtyg.Mes; |
|
|
|
public class BackfluManager : DomainService, IBackfluManager |
|
|
|
{ |
|
|
|
private readonly IBackfluLinq2DbRepository _repository; |
|
|
|
public BackfluManager(IBackfluLinq2DbRepository repository) |
|
|
|
private readonly IBackfluRepository _repository; |
|
|
|
public BackfluManager(IBackfluRepository repository) |
|
|
|
{ |
|
|
|
_repository = repository; |
|
|
|
} |
|
|
|
|
|
|
|
public async Task<List<scmout>> GetToBeProcessedListAsync() |
|
|
|
public async Task<List<Backflu>> GetToBeProcessedListAsync() |
|
|
|
{ |
|
|
|
var Backflu = await _repository.GetListAsync().ConfigureAwait(false); |
|
|
|
|
|
|
|
return Backflu.ToList(); |
|
|
|
} |
|
|
|
public virtual async Task UpdateProcessedListAsync(List<scmout> entities) |
|
|
|
public virtual async Task UpdateProcessedListAsync(List<Backflu> entities) |
|
|
|
{ |
|
|
|
foreach (var entitie in entities) |
|
|
|
{ |
|
|
|