BUG修复

This commit is contained in:
dxfeng 2022-09-20 10:25:13 +08:00
parent b214ec8509
commit 2632f6c857
2 changed files with 3 additions and 0 deletions

View File

@ -317,6 +317,8 @@
job_name=#{jobName},
parent_comp=#{parentComp},
parent_dept=#{parentDept},
ec_company=#{ecCompany},
ec_department=#{ecDepartment},
sequence_id=#{sequenceId},
scheme_id=#{schemeId},
parent_job=#{parentJob},

View File

@ -699,6 +699,7 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
deptById.setEcCompany(company);
deptById.setParentComp(Objects.requireNonNull(EcHrmRelationUtil.getJclCompanyId(Util.null2String(company))).getId());
deptById.setParentDept(null);
deptById.setEcDepartment(null);
} else if ("1".equals(moveParam.getMoveType())) {
Long department = moveParam.getDepartment();
Long departmentId = Objects.requireNonNull(EcHrmRelationUtil.getJclDepartmentId(Util.null2String(department))).getId();