RowBounds

💎 RowBounds - RowBounds row = new RowBounds(offset , limit); offset : 데이터를 가져오는 시작점에서 얼마나 떨어진 데이터인지를 적어주는것. limit : 한페이지에 몇개의 값을 가져오는지 적어주는것. public List selectManagementList(Pagination pagination) { int offset =(pagination.getCurrentPage() -1) * pagination.getLimit(); RowBounds rowBounds = new RowBounds(offset,pagination.getLimit()); return sqlSession.selectList("AdministratorMapper.selectManag..
Mungwang
'RowBounds' 태그의 글 목록