📄 downloaddao.java
字号:
package org.xg.download.dao;
import java.util.List;
import org.xg.download.Download;
public interface DownloadDAO
{
// 上传文件
public void insert(Download download) throws Exception ;
// 得到全部的记录数
public int getAllCount() throws Exception;
// 得到模糊查询的记录数
public int getByLikeCount(String cond) throws Exception;
// 得到全部的记录
public List queryAll(int currentPage, int lineSize) throws Exception;
// 模糊查询记录
public List queryByLike(String cond, int currentPage, int lineSize) throws Exception;
// 查询下载文件记录
public Download selectById(int id) throws Exception ;
// 更新下载次数
public void updateById(int id) throws Exception ;
// 按照ID核实
public void updateByVerify(int id,String verify) throws Exception ;
// 按照ID删除文件
public void deleteById(int id) throws Exception ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -