Commit 536d9127 by 泽锋 李

fix

parent 25696e41
...@@ -278,7 +278,7 @@ namespace AutoTurnOver.Services ...@@ -278,7 +278,7 @@ namespace AutoTurnOver.Services
if (lmsAvg.Where(s => s.avg_put_days != null).Count() >= 3) if (lmsAvg.Where(s => s.avg_put_days != null).Count() >= 3)
{ {
dataWarehouse.abroad_inbound_delivery = ((lmsAvg.Where(s => s.avg_put_days > 0).Sum(s => s.avg_put_days.Value) - lmsAvg.Max(s => s.avg_put_days.Value) - lmsAvg.Min(s => s.avg_put_days.Value)) / (lmsAvg.Count - 2)); dataWarehouse.abroad_inbound_delivery = ((lmsAvg.Where(s => s.avg_put_days!=null).Sum(s => s.avg_put_days.Value) - lmsAvg.Max(s => s.avg_put_days.Value) - lmsAvg.Min(s => s.avg_put_days.Value)) / (lmsAvg.Count - 2));
} }
else if (lmsAvg.Where(s => s.avg_put_days != null).Count() >= 1) else if (lmsAvg.Where(s => s.avg_put_days != null).Count() >= 1)
{ {
......
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