Files
shgx_tz_mes_backend_sync/ZR.Service/System/IService/ISysDeptService.cs

21 lines
698 B
C#
Raw Normal View History

2021-08-23 16:57:25 +08:00
using System;
using System.Collections.Generic;
using System.Text;
using ZR.Model.System;
using ZR.Model.Vo.System;
2021-09-16 19:35:17 +08:00
namespace ZR.Service.System.IService
2021-08-23 16:57:25 +08:00
{
2021-09-27 16:07:55 +08:00
public interface ISysDeptService : IBaseService<SysDept>
2021-08-23 16:57:25 +08:00
{
2021-09-27 16:07:55 +08:00
List<SysDept> GetSysDepts(SysDept dept);
string CheckDeptNameUnique(SysDept dept);
int InsertDept(SysDept dept);
int UpdateDept(SysDept dept);
void UpdateDeptChildren(long deptId, string newAncestors, string oldAncestors);
List<SysDept> GetChildrenDepts(List<SysDept> depts, long deptId);
List<SysDept> BuildDeptTree(List<SysDept> depts);
List<TreeSelectVo> BuildDeptTreeSelect(List<SysDept> depts);
2021-08-23 16:57:25 +08:00
}
}