Closed yoonicorn9227 closed 2 months ago
문의 게시판 전체 가져오기 ICotroller → InquiryService → InquiryServiceImpl → InquiryMapper → inquiryMapper.xml InquiryDto 설정완료
@GetMapping("/index") public String index(Model model, @RequestParam (defaultValue = "1") int page) {
ArrayList<InquiryDto> list = inquiryService.iSelectAll(page); //▼model저장 후 전송 model.addAttribute("list",list); return "model"; // 수정 }//index
문의 게시판 전체 가져오기 ICotroller → InquiryService → InquiryServiceImpl → InquiryMapper → inquiryMapper.xml InquiryDto 설정완료
@GetMapping("/index") public String index(Model model, @RequestParam (defaultValue = "1") int page) {