mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-05 04:03:45 +09:00
입고예정 리스트 하단 page 번호 추가
This commit is contained in:
@@ -33,10 +33,9 @@ public class PlanInController {
|
||||
|
||||
@GetMapping("/list")
|
||||
public ModelAndView list(ModelAndView mav,@RequestParam(defaultValue = "0") int searchn, @RequestParam(defaultValue = "") String search, @RequestParam(defaultValue = "1") int page){
|
||||
int perPage = 15;
|
||||
int perPage = 10;
|
||||
int startRow = (page - 1) * perPage;
|
||||
int count = planinservice.count(searchn, search);
|
||||
|
||||
int count = planinservice.count(searchn, search, startRow, perPage);
|
||||
|
||||
|
||||
int pageNum = 4;//보여질 페이지 번호 수
|
||||
|
||||
Reference in New Issue
Block a user