添加StudentCleanDao.java

master
pco4bax5y 2 years ago
parent dec8652a3c
commit 02b2de93b1

@ -0,0 +1,29 @@
package com.itheima.dao;
import com.itheima.po.StudentClean;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @program: dormitorySystem
* @description:
* @author: Joyrocky
* @create: 2019-04-25 12:14
**/
public interface StudentCleanDao {
/**
*
*/
//获取总条数
public Integer totalCount(@Param("s_studentid") Integer s_studentid, @Param("s_name") String s_name,@Param("s_dormitoryid") Integer s_dormitoryid);
//获取用户列表
public List<StudentClean> getStudentCleanList(@Param("s_studentid") Integer s_studentid, @Param("s_name") String s_name, @Param("s_dormitoryid") Integer s_dormitoryid, @Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize);
public int addStudentClean(StudentClean studentclean); //添加宿舍卫生信息
public int deleteStudentClean(Integer g_id); //删除宿舍卫生信息
public int updateStudentClean(StudentClean studentclean); //修改宿舍卫生信息
public StudentClean findStudentCleanById(Integer g_id);
public List<StudentClean> getAll();
}
Loading…
Cancel
Save