20230327展示页跳转
This commit is contained in:
@@ -79,6 +79,16 @@ namespace FineUIPro.Web.DataShow
|
||||
strSql += " AND States LIKE @States";
|
||||
listStr.Add(new SqlParameter("@States", "%" + this.drpStates.SelectedValue + "%"));
|
||||
}
|
||||
if (this.rbType.SelectedValue == "0")
|
||||
{
|
||||
strSql += " AND HazardValue =@HazardValue";
|
||||
}
|
||||
else
|
||||
{
|
||||
strSql += " AND HazardValue != @HazardValue";
|
||||
}
|
||||
listStr.Add(new SqlParameter("@HazardValue", "3"));
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user