Commit a2e04f38 by lizefeng

优化偏差分析

parent afe612c7
...@@ -11,7 +11,7 @@ namespace ResetOutofstock ...@@ -11,7 +11,7 @@ namespace ResetOutofstock
class DeviationRabbitBackgroundService : RabbitWorkerBase<t_task_queue> class DeviationRabbitBackgroundService : RabbitWorkerBase<t_task_queue>
{ {
public DeviationRabbitBackgroundService() : base("差异分析服务", "aims:deviation:input", 10) public DeviationRabbitBackgroundService() : base("差异分析服务", "aims:deviation:input", 1)
{ {
} }
......
...@@ -50,7 +50,7 @@ namespace ResetOutofstock ...@@ -50,7 +50,7 @@ namespace ResetOutofstock
//report_invest_return_dao.ShareAdFee(); //report_invest_return_dao.ShareAdFee();
//report_invest_return_dao.SynchBtmOrderRefund(); //report_invest_return_dao.SynchBtmOrderRefund();
//report_invest_return_dao.CalculationStockScore("962073701"); //report_invest_return_dao.CalculationStockScore("962073701");
//dc_ana_deviation_dao.PushAnaTask(); dc_ana_deviation_dao.PushAnaTask();
} }
catch (Exception ex) catch (Exception ex)
{ {
...@@ -61,11 +61,12 @@ namespace ResetOutofstock ...@@ -61,11 +61,12 @@ namespace ResetOutofstock
var builder = new HostBuilder().ConfigureServices((hostContext, services) => var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{ {
services.AddHostedService<DeviationRabbitBackgroundService>();
services.AddHostedService<ResetOutofstockBackgrounService>(); services.AddHostedService<ResetOutofstockBackgrounService>();
services.AddHostedService<CaseFlowBackgrounService>(); services.AddHostedService<CaseFlowBackgrounService>();
services.AddHostedService<StockBackgrounService>(); services.AddHostedService<StockBackgrounService>();
services.AddHostedService<ReportFinanceBackgrounService>(); services.AddHostedService<ReportFinanceBackgrounService>();
services.AddHostedService<DeviationRabbitBackgroundService>();
}); });
await builder.RunConsoleAsync(); await builder.RunConsoleAsync();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment