newsdao.java.svn-base
来自「spring+hibernate做的网上订餐系统」· SVN-BASE 代码 · 共 31 行
SVN-BASE
31 行
package com.pure.dao;
import java.util.List;
import org.springframework.dao.DataAccessException;
import com.pure.domain.News;
import com.pure.page.Page;
/**
* 资讯(新闻)DAO接口
*
* @author pure
*
*/
public interface NewsDAO {
void insertNews(News news) throws DataAccessException;
public void updateNews(News news) throws DataAccessException;
public List getNewsList(Page page);
public List getNewsList(int num);
public News getNews(int id);
public void delNews(int id);
public int getTotal(String hql);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?