|
|
@@ -26,7 +26,7 @@ import java.text.SimpleDateFormat;
|
|
|
import java.util.*;
|
|
|
|
|
|
@RestController
|
|
|
-@RequestMapping("/mobile/userBrowseApi")
|
|
|
+@RequestMapping("/mobile/userBrowseHrApi")
|
|
|
@Api(tags = "移动端接口:招聘方[浏览记录]")
|
|
|
@Slf4j
|
|
|
public class UserBrowseHrApiController {
|
|
|
@@ -58,8 +58,7 @@ public class UserBrowseHrApiController {
|
|
|
String workExp,String education,String createTimeRange,
|
|
|
@RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
|
|
|
@RequestParam(value="pageSize",defaultValue="20") int pageSize,
|
|
|
- HttpServletRequest request){
|
|
|
- String subject = (String)request.getAttribute("subject");
|
|
|
+ @RequestAttribute String subject){
|
|
|
|
|
|
//当前用户ID
|
|
|
System.out.println(subject);
|
|
|
@@ -142,7 +141,7 @@ public class UserBrowseHrApiController {
|
|
|
String workExpName="";
|
|
|
String dreamMoneyName="";
|
|
|
String educationName="";
|
|
|
-// String positionName = "";
|
|
|
+ String jobStatus = "";
|
|
|
|
|
|
|
|
|
if(resume!=null){
|
|
|
@@ -176,7 +175,6 @@ public class UserBrowseHrApiController {
|
|
|
dto.setJobUserId(jobUser.getId());
|
|
|
dto.setHeadImageUrl(jobUser.getHeadImageUrl());
|
|
|
dto.setName(jobUser.getRealName());
|
|
|
- dto.setSexN(jobUser.getSex());
|
|
|
dto.setUserTel(jobUser.getTel());
|
|
|
|
|
|
if(StringUtils.isNotEmpty(jobUser.getIdCard())){
|
|
|
@@ -196,6 +194,9 @@ public class UserBrowseHrApiController {
|
|
|
dto.setEducation(educationName);
|
|
|
dto.setDreamMoney(dreamMoneyName);
|
|
|
dto.setResumeId(resume.getId());
|
|
|
+ dto.setDreamAdd(resume.getDreamAdd());
|
|
|
+ dto.setJobStatus(dataDictionaryService.getName(resume.getJobStatus()));
|
|
|
+ dto.setSexN(dataDictionaryService.findNameByCatalogNameAndValue("性别",resume.getSex()));
|
|
|
|
|
|
pageDto.add(dto);
|
|
|
}
|