质量不符合清单
This commit is contained in:
@@ -80,6 +80,11 @@
|
||||
strSql += " AND Users.RoleId = @RoleId";
|
||||
listStr.Add(new SqlParameter("@RoleId", this.drpRole.SelectedValue));
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(this.rblIsOffice.SelectedValue))
|
||||
{
|
||||
strSql += " AND Users.IsOffice = @IsOffice";
|
||||
listStr.Add(new SqlParameter("@IsOffice", this.rblIsOffice.SelectedValue));
|
||||
}
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
Reference in New Issue
Block a user