parent
96fe719298
commit
d4743b36a1
@ -0,0 +1,29 @@
|
||||
package com.itheima.dao;
|
||||
|
||||
import com.itheima.po.DormClean;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @program: dormitorySystem
|
||||
* @description: 宿舍卫生
|
||||
* @author: Joyrocky
|
||||
* @create: 2019-04-24 14:37
|
||||
**/
|
||||
public interface DormCleanDao {
|
||||
/**
|
||||
* 进行分页查询
|
||||
*/
|
||||
//获取总条数
|
||||
public Integer totalCount(@Param("d_id") Integer d_id, @Param("d_dormbuilding") String d_dormbuilding);
|
||||
//获取用户列表
|
||||
public List<DormClean> getDormCleanList(@Param("d_id") Integer d_id, @Param("d_dormbuilding") String d_dormbuilding, @Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize);
|
||||
|
||||
public int addDormClean(DormClean dormclean); //添加宿舍卫生信息
|
||||
public int deleteDormClean(Integer g_id); //删除宿舍卫生信息
|
||||
public int updateDormClean(DormClean dormclean); //修改宿舍卫生信息
|
||||
public DormClean findDormCleanById(Integer g_id);
|
||||
public List<DormClean> getAll();
|
||||
|
||||
}
|
Loading…
Reference in new issue