项目用户添加是否教育人字段
This commit is contained in:
@@ -210,7 +210,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
strSql += " AND TrainRecord.UnitIds LIKE @UnitId1";
|
||||
listStr.Add(new SqlParameter("@UnitId1", "%" + this.CurrUser.UnitId + "%"));
|
||||
}
|
||||
if (this.drpUnitId.SelectedValue != BLL.Const._Null)
|
||||
if (this.drpUnitId.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpUnitId.SelectedValue))
|
||||
{
|
||||
strSql += " AND TrainRecord.UnitIds LIKE @UnitIds";
|
||||
listStr.Add(new SqlParameter("@UnitIds", "%" + this.drpUnitId.SelectedValue.Trim() + "%"));
|
||||
|
||||
Reference in New Issue
Block a user