public int insertBoard(BoardVO board) { BoardMapper mapper = template.getMapper(BoardMapper.class); return mapper.insertBoard(board); }
@Transactional public void deleteBoard(BoardVO board) { BoardMapper mapper = template.getMapper(BoardMapper.class); mapper.deleteBoard(board); }
public int getTotalRecode() { BoardMapper mapper = template.getMapper(BoardMapper.class); return mapper.getTotalRecode(); }
public BoardVO getBoardDetail(BoardVO board) { BoardMapper mapper = template.getMapper(BoardMapper.class); return mapper.getBoardDetail(board); }
public List<BoardVO> getBoardList(NaviVO nvo) { BoardMapper mapper = template.getMapper(BoardMapper.class); return mapper.getBoardList(nvo); }