首页>代码>jsp+servlet开发学生信息系统>/UserManagerSystem/src/cn/itcast/dao/StudentDao.java
package cn.itcast.dao;

import cn.itcast.domain.Student;

import java.util.List;
import java.util.Map;

/**
 * 用户操作的DAO
 */
public interface StudentDao {


    public List<Student> findAll();

    //Student findUserByUsernameAndPassword(String username, String password);

    void add(Student student);

    void delete(int id);

    Student findById(int i);

    void update(Student student);

    /**
     * 查询总记录数
     * @return
     * @param condition
     */
    int findTotalCount(Map<String, String[]> condition);

    /**
     * 分页查询每页记录
     * @param start
     * @param rows
     * @param condition
     * @return
     */
    List<Student> findByPage(int start, int rows, Map<String, String[]> condition);
}
最近下载更多
wanglinddad  LV55 3月13日
hyt123456  LV2 2月9日
全栈小陈  LV4 1月21日
kongmaowang  LV1 1月5日
yangyangyangyangzzzz  LV1 1月3日
pangzhihui  LV13 2023年12月30日
asddwh  LV12 2023年12月29日
无敌最俊朗啊  LV2 2023年12月29日
moranying  LV1 2023年12月28日
最近浏览更多
暂无贡献等级
Dominick  LV14 4月28日
justinleo  LV1 4月14日
twedss 3月31日
暂无贡献等级
钝感力  LV1 3月24日
sunlzh888888  LV28 3月16日
wanglinddad  LV55 3月13日
quartz  LV7 3月13日
晴曛  LV6 3月10日
潘潘123456  LV2 3月2日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友