20221225 条件筛选
This commit is contained in:
@@ -212,6 +212,10 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||
{
|
||||
task = task.Where(x=>x.JointAttribute== drpJointAttribute.SelectedValue).ToList();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtPipelineCode.Text.Trim()))
|
||||
{
|
||||
task = task.Where(x => x.PipelineCode.Contains(this.txtPipelineCode.Text.Trim())).ToList();
|
||||
}
|
||||
dt = this.LINQToDataTable(task);
|
||||
}
|
||||
else
|
||||
@@ -229,6 +233,10 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||
{
|
||||
task = task.Where(x => x.JointAttribute == drpJointAttribute.SelectedValue).ToList();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtPipelineCode.Text.Trim()))
|
||||
{
|
||||
task = task.Where(x => x.PipelineCode.Contains(this.txtPipelineCode.Text.Trim())).ToList();
|
||||
}
|
||||
dt = this.LINQToDataTable(task);
|
||||
}
|
||||
// 2.获取当前分页数据
|
||||
|
||||
Reference in New Issue
Block a user