package bdqn.newsMange.Dao; import java.util.List; import bdqn.newsMange.entity.comment; /** * 新闻评论的接口 * @author Administrator * */ public interface commentDao { //查询 public List<comment>getCommentAll(); //根据id查询新闻信息 public List<comment> getCommentAllByNewsid(int newsid); //添加 public int addComment(comment comm); //修改 public int updateComment(comment comm); //删除 public int delComment(int id); }