集团大屏数据
This commit is contained in:
@@ -318,7 +318,7 @@ namespace BLL
|
||||
// 获取达因信息
|
||||
var dineInfo = dineInfoDict.TryGetValue(projectid, out var dineData)
|
||||
? dineData
|
||||
: new { TotalDineNum = (decimal?)0, CompleteDineNum = (decimal?)0 };
|
||||
: new { TotalDineNum = (double?)0, CompleteDineNum = (double?)0 };
|
||||
|
||||
// 获取拍片信息
|
||||
var chCheckItem = chCheckItemDict.TryGetValue(projectid, out var checkData)
|
||||
@@ -442,8 +442,8 @@ namespace BLL
|
||||
select new Model.WeldDineOutput()
|
||||
{
|
||||
ProjectId = g.Key,
|
||||
Size = g.Sum(x => Convert.ToDecimal(!string.IsNullOrEmpty(x.TotalWeldQuantity) ? Convert.ToDecimal(x.TotalWeldQuantity) : 0)),
|
||||
DoneDin = g.Sum(x => Convert.ToDecimal(!string.IsNullOrEmpty(x.TotalCompleted) ? Convert.ToDecimal(x.TotalCompleted) : 0))
|
||||
Size = g.Sum(x => Convert.ToDouble(x.TotalWeldQuantity)),
|
||||
DoneDin = g.Sum(x => Convert.ToDouble(x.TotalCompleted))
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user