Merge pull request '岗位序列导入功能修复' (#235) from feature/cl into develop

Reviewed-on: http://221.226.25.34:3000/liang.cheng/weaver-hrm-organization/pulls/235
This commit is contained in:
liang.cheng 2024-03-14 13:42:23 +08:00
commit 6154ece836
1 changed files with 4 additions and 2 deletions

View File

@ -110,7 +110,7 @@ public class SequenceImportUtil {
OrgImportUtil.saveImportDetailLog(historyDetailPO);
continue nextRow;
}
for (int index = 0; index < split.length - 1; index++) {
for (int index = 0; index <= split.length - 1; index++) {
parentCompanyId = MapperProxyFactory.getProxy(CompMapper.class).getIdByNameAndPid(split[index], parentCompanyId == null ? 0 : parentCompanyId);
if (null == parentCompanyId) {
historyDetailPO.setOperateDetail(split[index] + "分部未找到对应数据");
@ -139,7 +139,9 @@ public class SequenceImportUtil {
}
}
if (i == 0) {
continue nextRow;
}
String subCompanyName = (String) map.get("scheme_name");
String subCompanyId = (String) map.get("subcompanyid");