package dao;

import entity.student ;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository()
public interface StudentMapper {
    /*
        在接口中定义方法,方法是用来是实现的
     */
    // 查询所有学生数据
    List<student> getStudent(@Param("start") int start,@Param("limit") int limit);
    // 通过ID查询学生数据
    List<student> getStudentById(student student);
    //删除学生数据
    int deleteStudentByID(String id);
    // 新增学生数据
    int addStudentData(student student);
    // 编辑学生数据
    int editStudentById(student student);
    //批量删除学生数据
    int batchDelete(String id[]);
    // 查询总共有多少条数据
    int studentCounts();


}
最近下载更多
sun丶孙  LV8 4月3日
gecongkai  LV8 2023年6月22日
1257592068  LV6 2023年6月13日
微信网友_6260196253601792  LV7 2023年6月7日
111112222333312131  LV4 2022年12月9日
331376387  LV5 2022年12月2日
2511952410  LV9 2022年9月17日
ty5854  LV1 2022年9月12日
lvhongquan  LV11 2022年5月4日
xytthy  LV3 2022年4月17日
最近浏览更多
sun丶孙  LV8 4月3日
WBelong  LV7 4月2日
flygrass  LV12 3月28日
流水本无情  LV9 3月24日
cielaurbo  LV2 2023年11月16日
 LV7 2023年8月21日
1748938504  LV2 2023年6月30日
gecongkai  LV8 2023年6月22日
1257592068  LV6 2023年6月13日
微信网友_6260196253601792  LV7 2023年6月7日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友