This commit is contained in:
ysukkyu
2026-05-14 18:14:49 +09:00
parent c0105c6847
commit 88e14edffd
50 changed files with 4870 additions and 172 deletions
@@ -29,6 +29,11 @@ public class SearchParam {
private String sortField;
private String sortOrder = "DESC";
/** MyBatis XML에서 #{offset} 참조 시 사용되는 계산값 */
public int getOffset() {
return Math.max(0, pageNum - 1) * pageSize;
}
/** PageHelper 시작 호출. Service 첫 줄에서 호출한다. */
public void startPage() {
PageHelper.startPage(pageNum, pageSize);