using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FangYar.IDAL.TBL { public interface SysDeptIDAL { /// /// 根据ID获取model /// FangYar.Model.TBL.TBL_SYS_DEPT_Model GetModelByID(string ID); /// /// 添加菜单 /// bool Add(FangYar.Model.TBL.TBL_SYS_DEPT_Model model); /// /// 删除 /// bool Delete(string IDList); /// /// 编辑 /// bool Edit(FangYar.Model.TBL.TBL_SYS_DEPT_Model model); /// /// 获取记录总数 /// int GetRecordCount(string strWhere); /// /// 分页获取数据列表 /// List QueryList(int PageIndex, int PageSize, string strwhere, string order); /// /// 添加部门 /// bool AddDept(FangYar.Model.TBL.TBL_SYS_DEPT_Model model); /// /// 修改部门信息 /// bool EditDept(FangYar.Model.TBL.TBL_SYS_DEPT_Model model); /// /// 获取部门包含人员数 /// int GetEmpCount(string strWhere); /// /// 删除人员 /// bool DelDept(string DeptList); } }