三库
This commit is contained in:
@@ -103,6 +103,7 @@ namespace FineUIPro.Web.Check
|
||||
+ @"ViolationPerson.HandleStep,"
|
||||
+ @"Unit.UnitName,"
|
||||
+ @"Person.CardNo,"
|
||||
+ @"ViolationPerson.ViolationLevel,"
|
||||
+ @"Person.PersonName,"
|
||||
+ @"WorkPost.WorkPostName,"
|
||||
+ @"(CASE WHEN ViolationPerson.States = " + BLL.Const.State_0 + " OR ViolationPerson.States IS NULL THEN '待['+OperateUser.UserName+']提交' WHEN ViolationPerson.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.UserName+']办理' END) AS FlowOperateName"
|
||||
@@ -143,6 +144,12 @@ namespace FineUIPro.Web.Check
|
||||
strSql += " AND PersonName LIKE @PersonName";
|
||||
listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text.Trim() + "%"));
|
||||
}
|
||||
string level = this.drpLevel.SelectedValue.Trim();
|
||||
if (!string.IsNullOrWhiteSpace(level))
|
||||
{
|
||||
strSql += " AND ViolationPerson.ViolationLevel = @level";
|
||||
listStr.Add(new SqlParameter("@level", level));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user