BoardMapper
페이지 정보
본문
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;
}
- 이전글BoardServiceImpl 24.06.10
- 다음글sql-board.xml 24.06.10
댓글목록
등록된 댓글이 없습니다.