private TableFilter BuildFilter(TableFilter filter, WFMonitorSearchModel searchModel)
 {
     if (!string.IsNullOrWhiteSpace(searchModel.DataId))
     {
         filter.Equals("dataid", searchModel.DataId);
     }
     if (!string.IsNullOrWhiteSpace(searchModel.ServiceId))
     {
         filter.Equals("serviceid", searchModel.ServiceId);
     }
     if (!string.IsNullOrEmpty(searchModel.Name))
     {
         filter.LikeLeft("name", searchModel.Name);
     }
     if (searchModel.Status != -999 && searchModel.Status != null)
     {
         filter.Equals("status", searchModel.Status);
     }
     return(filter);
 }