using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; using YiSha.Entity.OrganizationManage; using YiSha.Model.Param.OrganizationManage; namespace YiSha.IService.OrganizationManage { public partial interface IDepartmentService { #region 获取数据 Task> GetListPartial(DepartmentListParam param); Task GetEntityPartial(int id); Task GetMaxSortPartial(); /// /// 部门名称是否存在 /// /// /// bool ExistDepartmentNamePartial(DepartmentEntity entity); /// /// 是否存在子部门 /// /// /// bool ExistChildrenDepartmentPartial(int id); #endregion #region 提交数据 Task SaveFormPartial(DepartmentEntity entity); #endregion #region 私有方法 #endregion } }