示例#1
0
 public void insert(CommentsVo commentsVo) {
   commentsDao.insert(commentsVo);
 }
示例#2
0
 public void delete(long comments_no) {
   commentsDao.delete(comments_no);
 }
示例#3
0
 public CommentsVo getComments(Model model) {
   List<CommentsVo> commentsList = commentsDao.selectAll();
   model.addAttribute("commentsList", commentsList);
   return null;
 }