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