企业库
This commit is contained in:
parent
c08d233e51
commit
513aa68919
@ -747,12 +747,15 @@ namespace APT.SK.WebApi.Controllers.Api
|
||||
if (item2 != null && item2.DEPARTMENT_ID != null)
|
||||
{
|
||||
var first = departs.FirstOrDefault(t => t.ID == item2.DEPARTMENT_ID);
|
||||
var level = Enum.GetName(typeof(FMDepartmentType), first.DEPARTMENT_TYPE);
|
||||
if (first != null)
|
||||
{
|
||||
var level = Enum.GetName(typeof(FMDepartmentType), first?.DEPARTMENT_TYPE);
|
||||
levelStr.Add(level);
|
||||
departIds.Add(first.ID);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (levelStr.Any())
|
||||
{
|
||||
levelStr = levelStr.Distinct().ToList();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user