using Central.Control.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MES.Production.Service.IService { /// /// Service层部门管理接口 /// add 作者: 季健国 QQ:181589805 by 2016-05-22 /// public interface IDepartmentManage : IRepository { /// /// 递归部门列表,返回按级别排序 /// add 作者: 季健国 QQ:181589805 by 2016-06-03 /// /// /// List RecursiveDepartment(List list); /// /// 根据部门ID递归部门列表,返回子部门+本部门的对象集合 /// add 作者: 季健国 QQ:181589805 by 2016-06-03 /// List RecursiveDepartment(string parentId); /// /// /// /// /// List RecursiveDepartmentNew(string parentId); /// /// 自动创建部门编号 /// add 作者: 季健国 QQ:181589805 by 2016-06-03 /// string CreateCode(string parentCode); /// /// 部门是否存在下级部门 /// add 作者: 季健国 QQ:181589805 by 2016-06-03 /// bool DepartmentIsExists(string idlist); /// /// 根据部门ID获取部门名称,不存在返回空 /// string GetDepartmentName(string id); /// /// 显示错层方法 /// object GetDepartmentName(string name, decimal? level); /// /// 获取部门父级列表 /// System.Collections.IList GetDepartmentByDetail(); /// /// 获取部门父级列表 /// System.Collections.IList GetDepartmentByDetailNew(); /// /// 获取部门父级列表 /// System.Collections.IList GetDepartmentByDetailNew(int salseid, int? prov=0); } }