首页>代码>spring+spring Mvc+mybatis+layui实现数据表格的增删改查(纯layui实现)>/ssmlayui/src/main/java/dao/StudentMapper.java
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
2024年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日

最近浏览
