BoardMapper
페이지 정보

본문
package web.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import web.dto.BoardDto;
@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;
}
- 이전글● 게시판 MODIFY , DELETE ( 냉무 ) 24.06.10
- 다음글sql-board.xml 24.06.10
댓글목록
등록된 댓글이 없습니다.