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  LV55 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日
最近浏览更多
黄志琴  LV1 前天
charies778 1月7日
暂无贡献等级
AOAO1234  LV2 2024年12月23日
asfsghjhgsfadaas 2024年12月16日
暂无贡献等级
isssssss7 2024年10月13日
暂无贡献等级
lqzixi  LV4 2024年10月9日
WBelong  LV8 2023年12月15日
zhangyanghao 2023年9月21日
暂无贡献等级
lcqlcl  LV11 2023年8月29日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友