查询条件修改

This commit is contained in:
geh 2025-08-25 18:20:31 +08:00
parent 55255c35fd
commit 1cce9ee9e2
2 changed files with 2 additions and 1 deletions

View File

@ -106,6 +106,7 @@
<f:DropDownList runat="server" EnableSimulateTree="True" LabelAlign="Right" Label="级别" ID="dpRiskLevel" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
<f:ListItem Text="-请选择-" Value="" />
<f:ListItem Text="一般" Value="一般" />
<f:ListItem Text="较大" Value="较大" />
<f:ListItem Text="重大" Value="重大" />
</f:DropDownList>

View File

@ -201,7 +201,7 @@ namespace FineUIPro.Web.Customization.ZJ.HSSE.HiddenInspection
listStr.Add(new SqlParameter("@PUnintId", this.UnintId));
}
}
strSql += " AND IsBranch = 1 and ProjectState='1' and (isDelete=0 or isDelete is null )";
strSql += " AND ProjectState='1' and (isDelete=0 or isDelete is null )";
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);