Commit 64b4b7bd by lizefeng

时实库存 查询语句异常

parent 9396dbcf
...@@ -13,7 +13,7 @@ namespace AutoGeneratePurchaseAdvise ...@@ -13,7 +13,7 @@ namespace AutoGeneratePurchaseAdvise
{ {
Console.WriteLine("采购建议计算任务启动..."); Console.WriteLine("采购建议计算任务启动...");
// 创建采购计划 // 创建采购计划
//new DailyServices().GenerateData(); // PurchaseAdviseServices.AutoPushBuySys(1);
var builder = new HostBuilder().ConfigureServices((hostContext, services) => var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{ {
services.AddHostedService<GeneratePurchaseAdviseBackgroundService>(); services.AddHostedService<GeneratePurchaseAdviseBackgroundService>();
......
...@@ -260,7 +260,7 @@ t1.bailun_sku,t1.warehouse_code,t4.quantity_out_stock,t4.gmt_out_stock_modified, ...@@ -260,7 +260,7 @@ t1.bailun_sku,t1.warehouse_code,t4.quantity_out_stock,t4.gmt_out_stock_modified,
( case when t7.`status`=0 or t7.`status` is null then 0 else 1 end ) as 'monitor_status', ( case when t7.`status`=0 or t7.`status` is null then 0 else 1 end ) as 'monitor_status',
t6.history_sevenday_sales,t6.history_fourteenday_sales,t6.history_thirtyday_sales, t6.history_sevenday_sales,t6.history_fourteenday_sales,t6.history_thirtyday_sales,
t6.history_sevenday_sales_ebay,t6.history_fourteenday_sales_ebay,t6.history_thirtyday_sales_ebay, t6.history_sevenday_sales_ebay,t6.history_fourteenday_sales_ebay,t6.history_thirtyday_sales_ebay,
t6.history_sevenday_sales_aliexpresst6.history_fourteenday_sales_aliexpress,t6.history_thirtyday_sales_aliexpress, t6.history_sevenday_sales_aliexpresst,6.history_fourteenday_sales_aliexpress,t6.history_thirtyday_sales_aliexpress,
t1.* t1.*
from from
dc_base_stock as t1 dc_base_stock as t1
......
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