|
|
@ -1,6 +1,8 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Microsoft.Extensions.Logging; |
|
|
|
using Microsoft.Extensions.Options; |
|
|
|
using Volo.Abp.BackgroundWorkers; |
|
|
|
using Volo.Abp.Threading; |
|
|
@ -54,10 +56,9 @@ public class OutgoingFromWmsWorker : AsyncPeriodicBackgroundWorkerBase |
|
|
|
await outgoingFromWmsManager.CreateManyAsync(outgoingFromWmsList).ConfigureAwait(false); |
|
|
|
await exchangeDataAppService.UpdateManyAsync(exchangeDataList).ConfigureAwait(false); |
|
|
|
} |
|
|
|
catch (System.Exception ex) |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|
|
|
|
|
throw ex; |
|
|
|
Logger.LogInformation(ex.Message+ex?.InnerException.Message); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|