Commit 9d190643 by 泽锋 李

子sku不出建议数

parent 104f0ac7
......@@ -519,6 +519,7 @@ t1.is_mother_sku as 'is_mother_map_sku'
left join dc_auto_replace_logistics_task as tr_task on t1.auto_replace_logistics_task_id = tr_task.id
left join dc_mid_transit as t9 on t1.bailun_sku = t9.bailun_sku and t1.warehouse_code = t9.warehouse_code
where 1=1
and t1.bailun_sku_warehouse_code not in ( select bailun_sku_warehouse_code from dc_base_mother_sku_map ) -- 子sku不出
and ( t1.is_mother_sku =1 or (
t6.`status`=2
-- and (t1.history_fourteenday_sales>0 or t1.quantity_out_stock>0 )
......@@ -534,8 +535,6 @@ and ( t5.`status`=0 or t5.`status` is null ) and t7.sum_quantity_init_advise>0
", new { main_id = mainID, btime = date }, commandTimeout: 0).ToList();
Console.WriteLine("开始出建议 完");
if (datas1 != null && datas1.Count >= 1)
{
var datas2 = SetMotherSkuStorageCapacity(datas1);
......
......@@ -30,10 +30,6 @@ namespace AutoTurnOver.Services
foreach (var item in change_datas)
{
if(item.bailun_sku== "946497701" && item.warehouse_code == "GBFBABLA")
{
}
//刷新母sku
dc_base_mother_sku_dao.ResetTurnOverByMapSku(item.bailun_sku, item.warehouse_code);
}
......
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