SqlMapClientTemplate.queryForList(String arg0, Object arg1, int arg2, int arg3) int arg2不能从0开始

2025-05-14 11:46:41
推荐回答(1个)
回答(1):

select * from (
--物理的分页需要嵌套查询.
select t.a,t.b,rownum rn from t_test t
) l where l.rn >0 and l.rn<=5