package com.wgc.dao;

import java.util.List;

import com.wgc.entity.Dept;
import com.wgc.util.PageModel;

public interface DeptDao {
	//查询总数
	public Integer findCount();
	/**
	 * 查询,并完成分页
	 * @param 分页对象,包括请求页数和每页显示数量
	 * @return 要查询的页面显示的数据
	 * */
	public List<Dept> selectDeptPage(PageModel pageModel); 
	//通过name查询
	public List<Dept> selectDeptByName(PageModel pageModel,String name);
	public Integer findCountByName(String name);
	//添加部门
	public void addDept(Dept dept);
	//修改
	public Dept getDeptId(Integer id);
	public void updateDept(Dept dept);
}
最近下载更多
程健飞  LV2 2023年3月30日
Hugo_0901  LV5 2022年4月27日
wanglinddad  LV54 2022年4月19日
wangzile1994  LV12 2022年4月16日
槛外人  LV6 2022年3月29日
afei115  LV4 2021年11月29日
864152530  LV5 2021年6月7日
zuihaofdfdfdfdddd  LV10 2021年5月30日
1207748096  LV6 2021年5月12日
and123456  LV11 2021年4月20日
最近浏览更多
WBelong  LV7 2023年12月15日
zhangyanghao 2023年9月21日
暂无贡献等级
lcqlcl  LV11 2023年8月29日
werh0123  LV1 2023年8月17日
2506793979  LV12 2023年7月2日
新工艺  LV7 2023年6月12日
maritime 2023年6月1日
暂无贡献等级
纯爱战士  LV2 2023年5月28日
zzw123zzw  LV6 2023年5月2日
sweetbox  LV10 2023年4月9日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友