Commit c2b88689 by 泽锋 李

fix

parent 2e4a41c6
...@@ -53,7 +53,7 @@ where t1.`update_time`>=@c_time ...@@ -53,7 +53,7 @@ where t1.`update_time`>=@c_time
{ {
// 初始化数据才会进啦 // 初始化数据才会进啦
sql += " and t2.hq_type='fba仓' "; sql += " and t2.hq_type='fba仓' ";
sql += " and not EXISTS ( select * from dc_average_warehouse as ta where t1.warehouse_code =ta.warehouse_code and t1.bailun_sku =ta.bailun_sku and (ta.update_time>'2021-05-11 15:50:00' ) ) "; sql += " and not EXISTS ( select * from dc_average_warehouse as ta where t1.warehouse_code =ta.warehouse_code and t1.bailun_sku =ta.bailun_sku and (ta.update_time>'2021-05-11 18:50:00' ) ) ";
//sql += " and EXISTS ( select * from dc_report_profit_analysis as ta where t1.warehouse_code =ta.warehouse_code and t1.bailun_sku =ta.bailun_sku ) "; //sql += " and EXISTS ( select * from dc_report_profit_analysis as ta where t1.warehouse_code =ta.warehouse_code and t1.bailun_sku =ta.bailun_sku ) ";
} }
sql += " group by t1.bailun_sku,t1.warehouse_code "; sql += " group by t1.bailun_sku,t1.warehouse_code ";
......
...@@ -33,6 +33,7 @@ namespace AutoTurnOver.Purchase.AverageTarget ...@@ -33,6 +33,7 @@ namespace AutoTurnOver.Purchase.AverageTarget
//PurchaseAverageTargetServices.CalculationTransfer(days: (360 * 3), has_transfer: true); //PurchaseAverageTargetServices.CalculationTransfer(days: (360 * 3), has_transfer: true);
//dc_base_transfer_freight_dao.CalculationSingle("803597202", "MMDUSFBA"); //dc_base_transfer_freight_dao.CalculationSingle("803597202", "MMDUSFBA");
//PurchaseAverageTargetServices.Calculation(days: (360 * 3)); //PurchaseAverageTargetServices.Calculation(days: (360 * 3));
//PurchaseAverageTargetServices.CalculationTransfer(days: (360 * 3),has_transfer: true);
} }
catch (Exception ex) catch (Exception ex)
{ {
......
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