archive file
parent
1667ef24b0
commit
1fb5839a02
|
|
@ -693,8 +693,9 @@ public class OrgPersonnelExcelImporter {
|
|||
|
||||
// 校验通过 -> 组装职称写入基础信息行
|
||||
TitleCodeCo titleCode = new TitleCodeCo();
|
||||
titleCode.setIndustryCode(String.valueOf(capability.getBdmSeriesMajor().getId()));
|
||||
titleCode.setTitleCode(levelEnum.getCode());
|
||||
titleCode.setIndustryName(capability.getSeriesMajor());
|
||||
titleCode.setIndustryName(capability.getBdmSeriesMajor().getProfessionalName());
|
||||
basic.getTitleCodeArr().add(titleCode);
|
||||
return true;
|
||||
}
|
||||
|
|
@ -808,14 +809,14 @@ public class OrgPersonnelExcelImporter {
|
|||
/**
|
||||
* 新增部门并注册到名称索引(nameMapList),保证同一文件中同层级同名部门仅创建一次。
|
||||
*
|
||||
* @param orgId 机构ID
|
||||
* @param parentId 上级部门ID(一级部门传 0)
|
||||
* @param deptName 部门名称
|
||||
* @param orgId 机构ID
|
||||
* @param parentId 上级部门ID(一级部门传 0)
|
||||
* @param deptName 部门名称
|
||||
* @param nameMapList 部门名称索引(key: 部门名称)
|
||||
* @return 新增后的部门实体(含生成的ID)
|
||||
*/
|
||||
private OrgDepartmentEntity createDept(Long orgId, Long parentId, String deptName,
|
||||
Map<String, List<OrgDepartmentEntity>> nameMapList) {
|
||||
Map<String, List<OrgDepartmentEntity>> nameMapList) {
|
||||
OrgDepartmentEntity entity = new OrgDepartmentEntity();
|
||||
entity.setOrgId(orgId);
|
||||
entity.setParentId(parentId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue