Example #1
0
        public InfoList QueryInfoList(string token, InfoQueryPara para, int start, int pageSize)
        {
            InfoList result = new InfoList();
            DataList list   = _Infodao.QueryList(para, start, pageSize);

            if (list.Count > 0)
            {
                result.AddFrom(list);
            }
            return(result);
        }
Example #2
0
 public int QueryInfoCount(string token, InfoQueryPara para)
 {
     return(_Infodao.QueryCount(para));
 }