2023-03-09 合同归档修改,安全首页修改
This commit is contained in:
@@ -20,6 +20,8 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
if (!IsPostBack)
|
||||
{
|
||||
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
|
||||
BLL.DepartService.InitDepartDropDownList(this.drpDepartId, false);
|
||||
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
@@ -105,6 +107,12 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
strSql += " AND Con.ContractName LIKE @ContractName";
|
||||
listStr.Add(new SqlParameter("@ContractName", "%" + this.txtContractName.Text.Trim() + "%"));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(drpDepartId.SelectedValue))
|
||||
{
|
||||
strSql += " AND Con.DepartId = @DepartId";
|
||||
listStr.Add(new SqlParameter("@DepartId", drpDepartId.SelectedValue));
|
||||
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
|
||||
Reference in New Issue
Block a user