11
This commit is contained in:
@@ -188,9 +188,16 @@ namespace FineUIPro.Web.WeldingManage
|
||||
FROM View_Pipeline_Pipeline WHERE ProjectId= @ProjectId";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
var area = BLL.Project_WorkAreaService.GetProject_WorkAreaByWorkAreaId(this.tvControlItem.SelectedNodeID);
|
||||
if (area != null)
|
||||
{
|
||||
strSql += " AND WorkAreaId =@WorkAreaId";
|
||||
listStr.Add(new SqlParameter("@WorkAreaId", this.tvControlItem.SelectedNodeID));
|
||||
}
|
||||
}
|
||||
|
||||
strSql += " AND WorkAreaId =@WorkAreaId";
|
||||
listStr.Add(new SqlParameter("@WorkAreaId", this.tvControlItem.SelectedNodeID));
|
||||
if (!string.IsNullOrEmpty(this.txtPipelineCode.Text.Trim()))
|
||||
{
|
||||
strSql += " AND PipelineCode LIKE @PipelineCode";
|
||||
|
||||
Reference in New Issue
Block a user