1
This commit is contained in:
@@ -64,7 +64,7 @@ WHERE 1=1 ";
|
||||
strSql += " AND P.UnitId = @UnitId";
|
||||
listStr.Add(new SqlParameter("@UnitId", this.CurrUser.UnitId));
|
||||
}
|
||||
if (this.drpCheckMainType.SelectedValue != BLL.Const._Null)
|
||||
if (this.drpCheckMainType.SelectedValue != null && this.drpCheckMainType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
strSql += " AND S.CheckMainType = @CheckMainType";
|
||||
listStr.Add(new SqlParameter("@CheckMainType", this.drpCheckMainType.SelectedValue));
|
||||
|
||||
Reference in New Issue
Block a user