//数据库分页计算 Integer pageNo = (pageNo -1) * pageSize; //数据库内 order by id offset #{pageNo} rows fetch next #{pageSize} rows only
//数据库分页计算 Integer pageNo = (pageNo -1) * pageSize; //数据库内 order by id offset #{pageNo} rows fetch next #{pageSize} rows only
转载于:https://www.cnblogs.com/joelan0927/p/11049746.html