Commit df1f1dfc by 泽锋 李

fix

parent 66ae1d27
...@@ -657,7 +657,7 @@ and t1.quantity_init_advise>=0 and ( t3.buyer_name in ('张莹霞1') and t1.ware ...@@ -657,7 +657,7 @@ and t1.quantity_init_advise>=0 and ( t3.buyer_name in ('张莹霞1') and t1.ware
if (maps != null && maps.Count() >= 1) if (maps != null && maps.Count() >= 1)
{ {
not_mother_datas = not_mother_datas.Where(s=> maps.Any(v=>v.bailun_sku_warehouse_code==s.bailun_sku_warehouse_code)).ToList(); not_mother_datas = not_mother_datas.Where(s=> !maps.Any(v=>v.bailun_sku_warehouse_code==s.bailun_sku_warehouse_code)).ToList();
foreach (var item in mother_datas) foreach (var item in mother_datas)
{ {
var itemMaps = maps.Where(s => s.mother_sku_warehouse_code == item.bailun_sku_warehouse_code).OrderByDescending(s => s.is_main).ToList(); var itemMaps = maps.Where(s => s.mother_sku_warehouse_code == item.bailun_sku_warehouse_code).OrderByDescending(s => s.is_main).ToList();
......
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