Commit 7ea1bee5 by zhoujinhui

张莹霞1 不推送采购创建

parent 9d394b6b
......@@ -550,8 +550,8 @@ namespace AutoTurnOver.Services
// 查询当前有缺货的sku
Console.WriteLine($"拆分ebay+wish 的逻辑");
var shortageSkuList = purchase_advise.ShortageSkuList(new List<string> { "ebay","wish"},new List<string> { "张莹霞" });
alone_datas = datas.Where(s => shortageSkuList.Any(v => v == s.bailun_sku)).ToList();
other_datas = datas.Where(s => !shortageSkuList.Any(v => v == s.bailun_sku)).ToList();
alone_datas = datas.Where(s => shortageSkuList.Any(v => v == s.bailun_sku)&&s.buyer_name!= "张莹霞1").ToList();
other_datas = datas.Where(s => !shortageSkuList.Any(v => v == s.bailun_sku) && s.buyer_name != "张莹霞1").ToList();
Console.WriteLine($"ebay+wish 总数:{alone_datas.Count()}");
Console.WriteLine($"其他总数:{other_datas.Count()}");
if (alone_datas != null && alone_datas.Count > 0)
......
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