|
@@ -190,7 +190,7 @@ public class PostController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/importPost")
|
|
|
- public BaseResponse<Object> importPost(@RequestBody List<PostVo> dataList){
|
|
|
+ public BaseResponse<Object> importPost(@RequestBody List<PostVo> dataList) {
|
|
|
List<PostVo> result = postService.importPost(dataList, accountService.getLoginUserID());
|
|
|
if (result != null && result.size() > 0) {
|
|
|
return RespGenerstor.importFail(BaseErrorEnum.IMPORT_DATA_ERROR, result);
|
|
@@ -199,5 +199,15 @@ public class PostController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+ * 企业数据可视化地图获取岗位
|
|
|
+ *
|
|
|
+ * @param companyID 企业ID
|
|
|
+ * @return 岗位信息
|
|
|
+ */
|
|
|
+ @GetMapping("/companyMapGet")
|
|
|
+ public BaseResponse getCompanyMapPostList(@RequestParam int pageIndex, @RequestParam int pageSize, @RequestParam String companyID) {
|
|
|
+ PageInfo<PostVo> result = postService.selectCompanyMapPostList(pageIndex, pageSize, companyID);
|
|
|
+ return RespGenerstor.success(result);
|
|
|
+ }
|
|
|
}
|