|
@ -81,187 +81,187 @@ namespace Win.Sfs.SettleAccount |
|
|
} |
|
|
} |
|
|
}; return accesor; |
|
|
}; return accesor; |
|
|
}); |
|
|
}); |
|
|
context.Services.AddTransient(implementationFactory => |
|
|
//context.Services.AddTransient(implementationFactory =>
|
|
|
{ |
|
|
//{
|
|
|
Func<string, IExportJob> accesor = key => |
|
|
// Func<string, IExportJob> accesor = key =>
|
|
|
{ |
|
|
// {
|
|
|
if (key.Equals(typeof(PubSaSeCompareExportService).FullName)) |
|
|
// if (key.Equals(typeof(PubSaSeCompareExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<PubSaSeCompareExportService>(); |
|
|
// return implementationFactory.GetService<PubSaSeCompareExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(JisBBACEdiSeCompareExportService).FullName)) |
|
|
// if (key.Equals(typeof(JisBBACEdiSeCompareExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<JisBBACEdiSeCompareExportService>(); |
|
|
// return implementationFactory.GetService<JisBBACEdiSeCompareExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(JisHBPOEdiSeCompareExportService).FullName)) |
|
|
// if (key.Equals(typeof(JisHBPOEdiSeCompareExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<JisHBPOEdiSeCompareExportService>(); |
|
|
// return implementationFactory.GetService<JisHBPOEdiSeCompareExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(PD_SERVICE).FullName)) |
|
|
// if (key.Equals(typeof(PD_SERVICE).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<PD_SERVICE>(); |
|
|
// return implementationFactory.GetService<PD_SERVICE>();
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (key.Equals(typeof(InvoiceSettledDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(InvoiceSettledDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<InvoiceSettledDiffExportService>(); |
|
|
// return implementationFactory.GetService<InvoiceSettledDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(UnSettledExportService).FullName)) |
|
|
// if (key.Equals(typeof(UnSettledExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<UnSettledExportService>(); |
|
|
// return implementationFactory.GetService<UnSettledExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(fisUnsettledDiffReport).FullName)) |
|
|
// if (key.Equals(typeof(fisUnsettledDiffReport).FullName))
|
|
|
{//ERP总成开票报表
|
|
|
// {//ERP总成开票报表
|
|
|
return implementationFactory.GetService<fisUnsettledDiffReport>(); |
|
|
// return implementationFactory.GetService<fisUnsettledDiffReport>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(PriceQtyDifferenceExportService).FullName)) |
|
|
// if (key.Equals(typeof(PriceQtyDifferenceExportService).FullName))
|
|
|
{//量差和价差分析报表
|
|
|
// {//量差和价差分析报表
|
|
|
return implementationFactory.GetService<PriceQtyDifferenceExportService>(); |
|
|
// return implementationFactory.GetService<PriceQtyDifferenceExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(SettledPartAndErpPartPriceDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettledPartAndErpPartPriceDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettledPartAndErpPartPriceDiffExportService>(); |
|
|
// return implementationFactory.GetService<SettledPartAndErpPartPriceDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(SecMatchBaseExportService).FullName)) |
|
|
// if (key.Equals(typeof(SecMatchBaseExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SecMatchBaseExportService>(); |
|
|
// return implementationFactory.GetService<SecMatchBaseExportService>();
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
if (key.Equals(typeof(SettleFisDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettleFisDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettleFisDiffExportService>(); |
|
|
// return implementationFactory.GetService<SettleFisDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
//大众看板结算与交货核对明细表(有条码)
|
|
|
// //大众看板结算与交货核对明细表(有条码)
|
|
|
if (key.Equals(typeof(SettleKBWithCodeExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettleKBWithCodeExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettleKBWithCodeExportService>(); |
|
|
// return implementationFactory.GetService<SettleKBWithCodeExportService>();
|
|
|
} |
|
|
// }
|
|
|
//大众备件结算核对明细表
|
|
|
// //大众备件结算核对明细表
|
|
|
if (key.Equals(typeof(SettleSparePartExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettleSparePartExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettleSparePartExportService>(); |
|
|
// return implementationFactory.GetService<SettleSparePartExportService>();
|
|
|
} |
|
|
// }
|
|
|
//大众备件未结明细
|
|
|
// //大众备件未结明细
|
|
|
if (key.Equals(typeof(SettleUnSparePartExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettleUnSparePartExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettleUnSparePartExportService>(); |
|
|
// return implementationFactory.GetService<SettleUnSparePartExportService>();
|
|
|
} |
|
|
// }
|
|
|
//大众备件90天核对明细
|
|
|
// //大众备件90天核对明细
|
|
|
if (key.Equals(typeof(SettleSparePart90ExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettleSparePart90ExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettleSparePart90ExportService>(); |
|
|
// return implementationFactory.GetService<SettleSparePart90ExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(InvoiceSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(InvoiceSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<InvoiceSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<InvoiceSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(UnInvoiceSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(UnInvoiceSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<UnInvoiceSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<UnInvoiceSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(UnSettleDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(UnSettleDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<UnSettleDiffExportService>(); |
|
|
// return implementationFactory.GetService<UnSettleDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
if (key.Equals(typeof(SettleDoorPanelExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettleDoorPanelExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettleDoorPanelExportService>(); |
|
|
// return implementationFactory.GetService<SettleDoorPanelExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(UnsettledDetailReportService).FullName)) |
|
|
// if (key.Equals(typeof(UnsettledDetailReportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<UnsettledDetailReportService>(); |
|
|
// return implementationFactory.GetService<UnsettledDetailReportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(SettleKBWithOutCodeExportService).FullName)) |
|
|
// if (key.Equals(typeof(SettleKBWithOutCodeExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SettleKBWithOutCodeExportService>(); |
|
|
// return implementationFactory.GetService<SettleKBWithOutCodeExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(SharePartUnSettledExport).FullName)) |
|
|
// if (key.Equals(typeof(SharePartUnSettledExport).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<SharePartUnSettledExport>(); |
|
|
// return implementationFactory.GetService<SharePartUnSettledExport>();
|
|
|
} |
|
|
// }
|
|
|
//红旗、一汽轿车结算报表
|
|
|
// //红旗、一汽轿车结算报表
|
|
|
if (key.Equals(typeof(HQFSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQFSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQFSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQFSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(HQFSharePartSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQFSharePartSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQFSharePartSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQFSharePartSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(HQMSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQMSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQMSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQMSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(HQMSharePartSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQMSharePartSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQMSharePartSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQMSharePartSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(HQHSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQHSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQHSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQHSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
//红旗结算未结明细
|
|
|
// //红旗结算未结明细
|
|
|
if (key.Equals(typeof(HQHUnSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQHUnSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQHUnSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQHUnSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
//红旗未结核对
|
|
|
// //红旗未结核对
|
|
|
if (key.Equals(typeof(HQFactoryUnSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQFactoryUnSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQFactoryUnSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQFactoryUnSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(HQHSharePartSettledDetailDiffExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQHSharePartSettledDetailDiffExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQHSharePartSettledDetailDiffExportService>(); |
|
|
// return implementationFactory.GetService<HQHSharePartSettledDetailDiffExportService>();
|
|
|
} |
|
|
// }
|
|
|
//红旗、轿车发运报表
|
|
|
// //红旗、轿车发运报表
|
|
|
if (key.Equals(typeof(HQMShippingExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQMShippingExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQMShippingExportService>(); |
|
|
// return implementationFactory.GetService<HQMShippingExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(HQHShippingExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQHShippingExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQHShippingExportService>(); |
|
|
// return implementationFactory.GetService<HQHShippingExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(HQFShippingExportService).FullName)) |
|
|
// if (key.Equals(typeof(HQFShippingExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<HQFShippingExportService>(); |
|
|
// return implementationFactory.GetService<HQFShippingExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(WmsOutputSumExportService).FullName)) |
|
|
// if (key.Equals(typeof(WmsOutputSumExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<WmsOutputSumExportService>(); |
|
|
// return implementationFactory.GetService<WmsOutputSumExportService>();
|
|
|
} |
|
|
// }
|
|
|
//大众看板未结输出
|
|
|
// //大众看板未结输出
|
|
|
if (key.Equals(typeof(KanBanUnSettledExport).FullName)) |
|
|
// if (key.Equals(typeof(KanBanUnSettledExport).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<KanBanUnSettledExport>(); |
|
|
// return implementationFactory.GetService<KanBanUnSettledExport>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(FisUpdateExportService).FullName)) |
|
|
// if (key.Equals(typeof(FisUpdateExportService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<FisUpdateExportService>(); |
|
|
// return implementationFactory.GetService<FisUpdateExportService>();
|
|
|
} |
|
|
// }
|
|
|
if (key.Equals(typeof(FisOutputService).FullName)) |
|
|
// if (key.Equals(typeof(FisOutputService).FullName))
|
|
|
{ |
|
|
// {
|
|
|
return implementationFactory.GetService<FisOutputService>(); |
|
|
// return implementationFactory.GetService<FisOutputService>();
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
// else
|
|
|
{ |
|
|
// {
|
|
|
throw new ArgumentException($"Not Support key:{key}"); |
|
|
// throw new ArgumentException($"Not Support key:{key}");
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; return accesor; |
|
|
// }; return accesor;
|
|
|
}); |
|
|
//});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Configure<AbpBlobStoringOptions>(options => |
|
|
Configure<AbpBlobStoringOptions>(options => |
|
|