Exemplo n.º 1
0
        public ArrayList Search(string key, int pageIndex, int pageSize, ArrayList sortFirlds)
        {
            if (key == null)
            {
                key = "";
            }
            string sql = selectSql + "\nwhere bookname like '%" + key + "%'";

            return(DapperHelper.QueryPage(sql, null, pageIndex, pageSize));
        }