软测单独项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
1.5 KiB

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