using Model.ModelDto.SysDto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WMS.Entity.SysEntity;
namespace WMS.IBLL.ISysServer
{
///
/// 部门服务接口
///
public interface IDepartmentServer
{
///
/// 获取部门信息列表
///
/// 部门名称
/// 部门号
///
List GetDepartmentList(string DepartmentName, string DepartmentNo);
///
/// 根据id获取部门信息
///
/// 部门id
///
SysDepartment GetDepartmentById(int id);
///
/// 根据部门号获取部门信息
///
///
int GetDepartmentByNo(string DepartmentNo);
///
/// 新增部门信息
///
/// 部门dto
///
/// 捕获异常
Task AddDepartment(DepartmentDto departmentdto);
///
/// 删除部门信息
///
/// 部门实体模型
///
/// 捕获异常
Task DelDepartment(SysDepartment department);
///
/// 编辑部门信息
///
/// 部门dto
///
/// 捕获异常
Task ExitDepartment(DepartmentDto departmentdto);
}
}