using System; using System.Collections.Generic; using System.Text; using ZR.Model.System; using ZR.Model.Vo.System; namespace ZR.Service.System.IService { public interface ISysDeptService : IBaseService { List GetSysDepts(SysDept dept); string CheckDeptNameUnique(SysDept dept); int InsertDept(SysDept dept); int UpdateDept(SysDept dept); void UpdateDeptChildren(long deptId, string newAncestors, string oldAncestors); List GetChildrenDepts(List depts, long deptId); List BuildDeptTree(List depts); List BuildDeptTreeSelect(List depts); } }