20230221焊接修改

This commit is contained in:
2023-02-21 16:36:13 +08:00
parent 8e8eecbcfc
commit c1960a5ff5
22 changed files with 575 additions and 805 deletions
@@ -53,7 +53,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
path = path.Replace(".xlsx", string.Format("{0:yyyy-MM-dd-HH-mm}", DateTime.Now) + ".xlsx");
var a = (from x in pipelinecode select new { PipelineCode = x }).ToList();
var b=(from x in Funs.DB .HJGL_Pipeline where pipelinecode.Contains(x.PipelineCode)
select new {线=x.PipelineCode ,="100%",=x.PlanStartDate }).ToList();
select new {线=x.PipelineCode ,=x.FlowingSection,="100%",=x.PlanStartDate }).ToList();
MiniExcel.SaveAs(path, b);
string fileName = "材料匹配100%管线.xlsx";
@@ -70,9 +70,12 @@ namespace FineUIPro.Web.HJGL.WeldingManage
}
void BindGrid()
{
var a =( from x in pipelinecode select new { PipelineCode = x }).ToList();
var a = (from x in pipelinecode select new { PipelineCode = x }).ToList();
var b = (from x in Funs.DB.HJGL_Pipeline
where pipelinecode.Contains(x.PipelineCode)
select new { PipelineCode = x.PipelineCode, FlowingSection = x.FlowingSection, MatchingRate = "100%", PlanStarDate = x.PlanStartDate }).ToList();
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
this.Grid1.DataSource = a;
this.Grid1.DataSource = b;
this.Grid1.DataBind();
Grid1.RecordCount = a.Count();
}