Example #1
0
 public IList <IApplication> GetAllPaged(IDictionary <IAttributeDefinition, object> criterias, ref int pageNum, ref int pageCount, int pageSize, ref int itemCount)
 {
     using (var cmd = new DBCommand())
     {
         try
         {
             return(ApplicationDAL.GetAllPaged(cmd, criterias, ref pageNum, pageSize, ref pageCount, ref itemCount));
         }
         catch (Exception ex)
         {
             using (var builder = new MessageBuilder())
             {
                 string err = builder.AppendLine("读取申请单列表错误!").AppendLine(ex).Message;
                 throw new Exception(err);
             }
         }
     }
 }