Browse Source

接口修改

dev_DY_CC
lvzb 10 months ago
parent
commit
9d885414b7
  1. 2
      be/DataExchange/Fawtyg/Win_in.Sfs.Wms.DataExchange.Fawtyg.EosAgent/EosAgentModule.cs
  2. 2
      be/DataExchange/Fawtyg/Win_in.Sfs.Wms.DataExchange.Fawtyg.EosAgent/Incoming/EosIncomingBackgroundWorker.cs
  3. 3
      be/DataExchange/Fawtyg/Win_in.Sfs.Wms.DataExchange.Fawtyg.TyrpAgent/FawtygAutoMapperProfile.cs
  4. 1
      be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.EntityFrameworkCore/EntityFrameworkCore/DataExchangeEntityFrameworkCoreModule.cs

2
be/DataExchange/Fawtyg/Win_in.Sfs.Wms.DataExchange.Fawtyg.EosAgent/EosAgentModule.cs

@ -165,7 +165,7 @@ public class EosAgentModule : AbpModule
ApplicationInitializationContext context)
{
//context.AddBackgroundWorkerAsync<EosIncomingBackgroundWorker>();
context.AddBackgroundWorkerAsync<EosIncomingBackgroundWorker>();
context.AddBackgroundWorkerAsync<EosOutgoingBackgroundWorker>();
}

2
be/DataExchange/Fawtyg/Win_in.Sfs.Wms.DataExchange.Fawtyg.EosAgent/Incoming/EosIncomingBackgroundWorker.cs

@ -31,7 +31,7 @@ public class EosIncomingBackgroundWorker : AsyncPeriodicBackgroundWorkerBase
{
Logger.LogInformation($"开始: 执行 {Incoming}");
var configManager = workerContext.ServiceProvider.GetRequiredService<IInterfaceConfigManager>();
var confitem = await configManager.GetInterfaceConfig("").ConfigureAwait(false);
var confitem = await configManager.GetInterfaceConfig("EOS-IN").ConfigureAwait(false);
if (confitem == null)
{
if (!_options.Value.IncomingOptions.Active)

3
be/DataExchange/Fawtyg/Win_in.Sfs.Wms.DataExchange.Fawtyg.TyrpAgent/FawtygAutoMapperProfile.cs

@ -113,8 +113,11 @@ public class FawtygAutoMapperProfile : Profile
CreateMap<SupplierExchangeDto, SupplierEditInput>();
CreateMap<CustomerExchangeDto, CustomerEditInput>();
CreateMap<PurchasePriceExchangeDto, PurchasePriceSheetEditInput>();
CreateMap<PurchasePriceSheetDTO, PurchasePriceExchangeDto>();
CreateMap<SalePriceExchangeDto, SalePriceSheetEditInput>();
CreateMap<SalePriceSheetDTO,SalePriceExchangeDto> ();
CreateMap<StdCostPriceExchangeDto, StdCostPriceSheetEditInput>();
CreateMap<StdCostPriceSheetDTO, StdCostPriceExchangeDto>();
CreateMap<ProductRecycleNoteDTO, ProductRecycleNoteEditInput>();
CreateMap<ProductRecycleNoteDetailDTO, ProductRecycleNoteDetailInput>();

1
be/DataExchange/src/Win_in.Sfs.Wms.DataExchange.EntityFrameworkCore/EntityFrameworkCore/DataExchangeEntityFrameworkCoreModule.cs

@ -51,6 +51,7 @@ public class DataExchangeEntityFrameworkCoreModule : AbpModule
context.Services.AddTransient<IArchivedIncomingToWmsRepository, ArchivedIncomingToWmsEfCoreRepository>();
context.Services.AddTransient<IOutgoingToExternalRepository, OutgoingToExternalEfCoreRepository>();
context.Services.AddTransient<IArchivedOutgoingToExternalRepository, ArchivedOutgoingToExternalEfCoreRepository>();
context.Services.AddTransient<IInterfaceConfigRepository, InterfaceConfigEfCoreRepository>();
Configure<AbpDbContextOptions>(options =>
{

Loading…
Cancel
Save