zoukankan      html  css  js  c++  java
  • 新闻发布项目——接口类(commentDao)

    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);
    }
    

  • 相关阅读:
    C 应用
    C 基本语法
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
  • 原文地址:https://www.cnblogs.com/a1111/p/12816564.html
Copyright © 2011-2022 走看看