|
@@ -751,6 +751,27 @@ public class RecruitmentApiController {
|
|
|
msgResult.setResult(true);
|
|
|
msgResult.setData(PojoUtils.pageWrapper(page));
|
|
|
|
|
|
+ return msgResult;
|
|
|
+ }
|
|
|
+ @PostMapping("getCompany")
|
|
|
+ @ApiOperation(value = "企业详情")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "companyId", value = "公司id", required = false, paramType = "query"),
|
|
|
+ })
|
|
|
+ public MessageResult<Company> getCompany(
|
|
|
+ String token,String companyId, @RequestAttribute String subject) {
|
|
|
+ System.out.println(subject);
|
|
|
+
|
|
|
+ MessageResult<Company> msgResult = new MessageResult<>();
|
|
|
+
|
|
|
+ Company company = companyService.get(companyId);
|
|
|
+ company.setScaleName(dataDictionaryService.getName(company.getScale()));
|
|
|
+ company.setIndustry(dataDictionaryService.getName(company.getIndustry()));
|
|
|
+
|
|
|
+
|
|
|
+ msgResult.setResult(true);
|
|
|
+ msgResult.setData(company);
|
|
|
+
|
|
|
return msgResult;
|
|
|
}
|
|
|
}
|