This commit is contained in:
何美荣 2024-04-10 15:59:55 +08:00
commit 71c2704bc5

View File

@ -4488,7 +4488,7 @@ namespace APT.BaseData.Services.DomainServices
var tempDepartment = GetEntity<T_FM_DEPARTMENT>(t => t.ID == department.PARENT_ID).PARENT_ID; var tempDepartment = GetEntity<T_FM_DEPARTMENT>(t => t.ID == department.PARENT_ID).PARENT_ID;
departmentId = GetEntity<T_FM_DEPARTMENT>(t => t.ID == tempDepartment).ID; departmentId = GetEntity<T_FM_DEPARTMENT>(t => t.ID == tempDepartment).ID;
} }
if (department.DEPARTMENT_TYPE == (int)FMDepartmentType.) else if (department.DEPARTMENT_TYPE == (int)FMDepartmentType.)
{ {
departmentId = department.ID; departmentId = department.ID;
} }