|
|
|
@ -222,9 +222,15 @@ public class StaffInfoImportUtil {
|
|
|
|
|
continue nextRow;
|
|
|
|
|
}
|
|
|
|
|
for (String s : split) {
|
|
|
|
|
parentJobId = MapperProxyFactory.getProxy(JobMapper.class).getIdByNameAndPid(s, parentCompanyId, parentDepartmentId == null ? 0 : parentDepartmentId, parentJobId == null ? 0 : parentJobId
|
|
|
|
|
List<JobPO> jobPList = MapperProxyFactory.getProxy(JobMapper.class).getIdByNameAndPid(s, parentCompanyId, parentDepartmentId == null ? 0 : parentDepartmentId, parentJobId == null ? 0 : parentJobId
|
|
|
|
|
,jobactivitymark,jobgroupremark);
|
|
|
|
|
if (null == parentJobId) {
|
|
|
|
|
if (jobPList.size() > 1) {
|
|
|
|
|
historyDetailPO.setOperateDetail(s + "岗位在岗位管理中存在重复数据,请先处理");
|
|
|
|
|
historyDetailPO.setStatus("0");
|
|
|
|
|
OrgImportUtil.saveImportDetailLog(historyDetailPO);
|
|
|
|
|
continue nextRow;
|
|
|
|
|
}
|
|
|
|
|
if (jobPList.size() == 0) {
|
|
|
|
|
historyDetailPO.setOperateDetail(s + "岗位未找到对应数据");
|
|
|
|
|
historyDetailPO.setStatus("0");
|
|
|
|
|
OrgImportUtil.saveImportDetailLog(historyDetailPO);
|
|
|
|
|