代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.DataShow
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
@@ -57,7 +57,7 @@ namespace FineUIPro.Web.DataShow
|
||||
|
||||
// cpara += " AND c.RegisterDate <=" + this.txtEndTime.Text;
|
||||
//}
|
||||
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
@@ -167,7 +167,7 @@ namespace FineUIPro.Web.DataShow
|
||||
{
|
||||
var getD1 = from x in Funs.DB.HJGL_WeldJoint
|
||||
where x.ProjectId == projectId.ToString()
|
||||
select x;
|
||||
select x;
|
||||
if (getD1.Count() > 0)
|
||||
{
|
||||
cout1 = getD1.Sum(x => x.Size ?? 0);
|
||||
@@ -190,7 +190,7 @@ namespace FineUIPro.Web.DataShow
|
||||
var datetime2 = Funs.GetNewDateTime(this.txtStartTime.Text);
|
||||
var getD1 = from x in Funs.DB.HJGL_WeldJoint
|
||||
join y in Funs.DB.HJGL_WeldingDaily on x.WeldingDailyId equals y.WeldingDailyId
|
||||
where x.ProjectId == projectId.ToString()
|
||||
where x.ProjectId == projectId.ToString()
|
||||
select new { x.Size, y.WeldingDate };
|
||||
if (datetime1.HasValue)
|
||||
{
|
||||
@@ -203,7 +203,7 @@ namespace FineUIPro.Web.DataShow
|
||||
if (getD1.Count() > 0)
|
||||
{
|
||||
cout1 += getD1.Sum(x => x.Size ?? 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
return cout1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user