提交代码
This commit is contained in:
@@ -1100,11 +1100,8 @@ namespace BLL
|
||||
decimal physicalCompletionQuantity = 0, materialConsumption = 0;
|
||||
if (we.Count() > 0)
|
||||
{
|
||||
foreach (var w in we)
|
||||
{
|
||||
physicalCompletionQuantity += w.PhysicalCompletionQuantity ?? 0;
|
||||
materialConsumption += w.MaterialConsumption ?? 0;
|
||||
}
|
||||
physicalCompletionQuantity = we.Sum(x => x.PhysicalCompletionQuantity ?? 0);
|
||||
materialConsumption = we.Sum(x => x.MaterialConsumption ?? 0);
|
||||
row[9] = physicalCompletionQuantity;
|
||||
row[10] = materialConsumption;
|
||||
}
|
||||
@@ -1188,11 +1185,8 @@ namespace BLL
|
||||
decimal physicalCompletionQuantity = 0, materialConsumption = 0;
|
||||
if (we.Count() > 0)
|
||||
{
|
||||
foreach (var w in we)
|
||||
{
|
||||
physicalCompletionQuantity += w.PhysicalCompletionQuantity ?? 0;
|
||||
materialConsumption += w.MaterialConsumption ?? 0;
|
||||
}
|
||||
physicalCompletionQuantity = we.Sum(x => x.PhysicalCompletionQuantity ?? 0);
|
||||
materialConsumption = we.Sum(x => x.MaterialConsumption ?? 0);
|
||||
row[9] = physicalCompletionQuantity;
|
||||
row[10] = materialConsumption;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user