BoardMapper > SPRINGBOOT

본문 바로가기

사이트 내 전체검색

뒤로가기 SPRINGBOOT

BoardMapper

페이지 정보

작성자 관리자 작성일 24-06-10 13:38 조회 62 댓글 0

본문

package web.mapper;


import java.util.List;


import org.apache.ibatis.annotations.Mapper;


import web.dto.BoardDto;

import web.dto.Criteria;


@Mapper //메서드명과 xml 파일의 id를 매핑시켜 주는 기능

public interface BoardMapper {


List<BoardDto> selectBoardList() throws Exception;

void insertBoard(BoardDto board) throws Exception;

BoardDto selectBoardDetail(int boardIdx) throws Exception;

void updateHitCount(int boardIdx) throws Exception;

void updateBoard(BoardDto board) throws Exception;

void deleteBoard(int boardIdx) throws Exception;


List<BoardDto> selectCriList(Criteria cri) throws Exception;


List<BoardDto> selectPageList(Criteria cri) throws Exception;

int listCount(Criteria cri) throws Exception;

List<BoardDto> selectSearchList(Criteria cri) throws Exception;

int listSearchCount(Criteria cri) throws Exception;


}

댓글목록 0

등록된 댓글이 없습니다.


Copyright © dancePKT. All rights reserved.
PC 버전으로 보기