部门转移BUG修复

This commit is contained in:
dxfeng 2022-10-14 11:33:24 +08:00
parent 1d7389c872
commit 4a85fc46aa
1 changed files with 1 additions and 0 deletions

View File

@ -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);