(CommentDto commentDto)
| 39 | } |
| 40 | |
| 41 | @Override |
| 42 | @Transactional(rollbackFor = Exception.class) |
| 43 | public int write(CommentDto commentDto) throws Exception { |
| 44 | boardDao.updateCommentCnt(commentDto.getBno(), 1); |
| 45 | // throw new Exception("test"); |
| 46 | return commentDao.insert(commentDto); |
| 47 | } |
| 48 | |
| 49 | @Override |
| 50 | public List<CommentDto> getList(Integer bno) throws Exception { |