|
@@ -442,6 +442,11 @@ public class PostServiceImpl implements PostService {
|
|
|
proModel.setStatus(Integer.parseInt("1"));
|
|
|
proModel.setOrderNo(proOtherSonList.size() + 1);
|
|
|
pcProfessionList.add(proModel);
|
|
|
+ // 先将该岗位临时存储在第三级数据中,防止在最终添加之前,向pcProfessionList生成多个相同名称的岗位字典数据
|
|
|
+ SysDictionaryItem dictionaryItem = new SysDictionaryItem();
|
|
|
+ dictionaryItem.setCode(item.getProfessionID());
|
|
|
+ dictionaryItem.setName(item.getProfessionName());
|
|
|
+ thirdLevelProfessionList.add(dictionaryItem);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -500,4 +505,18 @@ public class PostServiceImpl implements PostService {
|
|
|
});
|
|
|
return null;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业数据可视化地图页面获取岗位
|
|
|
+ *
|
|
|
+ * @param companyID 企业ID
|
|
|
+ * @return 岗位信息
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public PageInfo<PostVo> selectCompanyMapPostList(int pageIndex, int pageSize, String companyID) {
|
|
|
+ PageHelper.startPage(pageIndex, pageSize);
|
|
|
+ List<PostVo> postVos = postCQuery.selectCompanyMapPostList(companyID);
|
|
|
+ PageInfo<PostVo> result = new PageInfo(postVos);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
}
|