增加数据穿透界面
This commit is contained in:
@@ -21,7 +21,6 @@ namespace FineUIPro.Web.ZHGL.Supervise
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
Funs.DropDownPageSize(this.ddlPageSize);
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
//btnNew.OnClientClick = Window1.GetShowReference("SuperviseCheckRectifyEdit.aspx") + "return false;";
|
||||
@@ -48,6 +47,11 @@ namespace FineUIPro.Web.ZHGL.Supervise
|
||||
strSql += " AND (SuperviseCheckRectifyCode like @name OR ProjectName like @name OR UnitName like @name OR HandleState like @name)";
|
||||
listStr.Add(new SqlParameter("@name", "%" + this.txtName.Text.Trim() + "%"));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.UnitId) && BLL.Const.UnitId_CWCEC != this.CurrUser.UnitId)
|
||||
{
|
||||
strSql += " AND ProjectUnitId = @UnitId";
|
||||
listStr.Add(new SqlParameter("@UnitId", this.CurrUser.UnitId));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user