|
|
|
@ -718,6 +718,7 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
|
|
|
|
|
deptById.setEcDepartment(department);
|
|
|
|
|
DepartmentPO parentDepartment = getDepartmentMapper().getDeptById(departmentId);
|
|
|
|
|
deptById.setParentComp(parentDepartment.getParentComp());
|
|
|
|
|
deptById.setEcCompany(parentDepartment.getEcCompany());
|
|
|
|
|
}
|
|
|
|
|
// 更新EC部门
|
|
|
|
|
updateEcDepartment(deptById);
|
|
|
|
|