Ver Fonte

Merge remote-tracking branch 'origin/master'

yanliming há 4 anos atrás
pai
commit
0588efdf03

+ 3 - 0
common/src/main/java/com/jpsoft/employment/modules/base/entity/UserAuthenticationApprove.java

@@ -34,12 +34,15 @@ public class UserAuthenticationApprove {
     private Boolean delFlag;
         @ApiModelProperty(value = "用户ID")
     private String jobUserId;
+    private String jobUserName;
         @ApiModelProperty(value = "审批人")
     private String approvePersonId;
+    private String approvePersonName;
         @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone ="GMT+8")
 	    @ApiModelProperty(value = "审批时间")
     private Date approveTime;
         @ApiModelProperty(value = "审批状态")
     private String approvalStatus;
+    private String approvalStatusName;
 }

+ 2 - 2
common/src/main/resources/mapper/base/UserAuthenticationApprove.xml

@@ -89,8 +89,8 @@
 			select * from base_user_authentication_approve
 		]]>
 		<where>
-			<if test="searchParams.id != null">
-				and ID_ like #{searchParams.id}
+			<if test="searchParams.approvalStatus != null">
+				and approval_status = #{searchParams.approvalStatus}
 			</if>
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">

+ 3 - 2
common/src/main/resources/mapper/job/JobUser.xml

@@ -191,13 +191,14 @@
 			  jj.real_name name,
 			  jj.head_image_url headImage,
 			  jre.id_ id,
-			  su.id_ sysUseId
+			  su.id_ sysUseId,
+			  jub.create_time as create_time
 			FROM
 			  job_user_browse jub
 			INNER JOIN job_recruitment jr ON jub.job_recruitment_id = jr.id_
 			INNER JOIN sys_user su ON jr.company_id = su.company_id
 			INNER JOIN job_jobuser jj ON jub.job_user_id = jj.id_
-			LEFT JOIN job_resume jre ON jj.id_ = jre.job_user_id
+			LEFT JOIN job_resume jre ON jj.id_ = jre.job_user_id on jre.approve_status=2
 		]]>
 		<where>
 			<if test="searchParams.id != null">

+ 4 - 3
common/src/main/resources/mapper/job/Recruitment.xml

@@ -216,14 +216,15 @@
 			SELECT
 				jr.id_ AS id,
 				jr.title_ AS title,
-				jr.requirements_ AS requirements,
 				jr.address_ AS address,
+				jr.requirements_ AS requirements,
 				bc.logo_ AS logo,
 				bc.name_ AS name,
 				sdda.name_ AS scaleName,
 				sddb.name_ AS wageTypeN,
 				bci.city_name AS cityName,
-				sddc.name_ AS industry
+				sddc.name_ AS industry,
+				sddd.name_ AS workYear
 			FROM
 				job_recruitment AS jr
 			LEFT JOIN base_company AS bc ON jr.company_id = bc.id_
@@ -240,7 +241,7 @@
 				and jr.wage_type like #{searchParams.monthlySalary}
 			</if>
 			<if test="searchParams.workExperience != null">
-				and jr.requirements_ like #{searchParams.workExperience}
+				and jr.work_year like #{searchParams.workExperience}
 			</if>
 			<if test="searchParams.education != null">
 				and jr.education_ like #{searchParams.education}

+ 2 - 2
common/src/main/resources/mapper/job/RecruitmentCollection.xml

@@ -169,7 +169,7 @@
 			left join job_work_category w on r.position_category_id=w.id_ and w.del_flag=0
 			left join sys_data_dictionary workExpw on r.work_exp=workExpw.id_ and workExpw.del_flag=0  
 			left join sys_data_dictionary eduw on r.education_=eduw.id_ and eduw.del_flag=0 
-			left join sys_data_dictionary sexw on r.sex_=sexw.id_ and sexw.del_flag=0  
+			LEFT JOIN sys_data_dictionary sexw ON r.sex_ = sexw.value_ and sexw.parent_id = '0c3194dc-884d-4ea9-9966-dfb94f537f5c' AND sexw.del_flag = 0
 			left join sys_data_dictionary jobstaw on r.job_status=jobstaw.id_ and jobstaw.del_flag=0  
 			left join sys_data_dictionary drmoneyw on r.dream_money=drmoneyw.id_ and drmoneyw.del_flag=0  
 			) tab
@@ -238,7 +238,7 @@
 			left join job_work_category w on r.position_category_id=w.id_ and w.del_flag=0
 			left join sys_data_dictionary workExpw on r.work_exp=workExpw.id_ and workExpw.del_flag=0  
 			left join sys_data_dictionary eduw on r.education_=eduw.id_ and eduw.del_flag=0  
-			left join sys_data_dictionary sexw on r.sex_=sexw.id_ and sexw.del_flag=0  
+			LEFT JOIN sys_data_dictionary sexw ON r.sex_ = sexw.value_ and sexw.parent_id = '0c3194dc-884d-4ea9-9966-dfb94f537f5c' AND sexw.del_flag = 0
 			left join sys_data_dictionary jobstaw on r.job_status=jobstaw.id_ and jobstaw.del_flag=0
 			left join sys_data_dictionary drmoneyw on r.dream_money=drmoneyw.id_ and drmoneyw.del_flag=0 
 			left join (select count(1) browse_count,job_resume_id from job_user_browse_hr where del_flag=0 group by job_resume_id) rerd  on r.id_=rerd.job_resume_id

+ 2 - 2
common/src/main/resources/mapper/job/ResumeDeliver.xml

@@ -101,8 +101,8 @@
 			<if test="searchParams.name != null">
 				and b.real_name like #{searchParams.name}
 			</if>
-			<if test="searchParams.chatStatus != null">
-				and a.chat_status = #{searchParams.chatStatus}
+			<if test="searchParams.userId != null">
+				and a.job_user_id = #{searchParams.userId}
 			</if>
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">

+ 1 - 0
common/src/main/resources/mapper/job/UserBrowse.xml

@@ -211,6 +211,7 @@
 		]]>
 		<where>
 			and job_user_id = #{searchParams.jobUserId}
+			and b.del_flag=0
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">
 			${sort.name} ${sort.order}

+ 9 - 1
common/src/main/resources/mapper/job/UserBrowseHr.xml

@@ -79,7 +79,10 @@
 	</select>
 	<select id="search" parameterType="hashmap" resultMap="UserBrowseHrMap">
 		<![CDATA[
-			select * from job_user_browse_hr a left join job_resume b on a.job_resume_id = b.id_
+			select * from
+			  job_user_browse_hr a
+			left join job_resume b on a.job_resume_id = b.id_
+			left join job_work_category c on b.position_category_id = c.id_
 		]]>
 		<where>
 			a.del_flag = 0 and b.del_flag = 0
@@ -108,6 +111,11 @@
 			<if test="searchParams.endTime != null">
 				<![CDATA[
                   and a.create_time <= #{searchParams.endTime}
+                ]]>
+			</if>
+			<if test="searchParams.positionName != null">
+				<![CDATA[
+                  and c.name_ like #{searchParams.positionName}
                 ]]>
 			</if>
 		</where>

+ 1 - 0
common/src/main/resources/mapper/job/UserCollection.xml

@@ -157,6 +157,7 @@
 		]]>
 		<where>
 			and job_user_id = #{searchParams.jobUserId}
+			and b.del_flag=0
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">
 			${sort.name} ${sort.order}

+ 3 - 3
web/src/main/java/com/jpsoft/employment/modules/base/controller/CompanyController.java

@@ -52,6 +52,7 @@ public class CompanyController {
 
         try {
             company.setId(UUID.randomUUID().toString());
+            company.setIsCertification("0");
             company.setDelFlag(false);
             company.setCreateBy(subject);
             company.setCreateTime(new Date());
@@ -201,11 +202,10 @@ public class CompanyController {
     @ApiOperation(value="列表")
     @RequestMapping(value = "pageList",method = RequestMethod.POST)
     public MessageResult<Map> pageList(
-            String id,
             String name,
             String scale,
             String industry,
-            Boolean isCertification,
+            String isCertification,
             @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
             @RequestParam(value="pageSize",defaultValue="20") int pageSize,
             @RequestAttribute String subject){
@@ -233,7 +233,7 @@ public class CompanyController {
             searchParams.put("industry",industry);
         }
 
-        if (isCertification != null) {
+        if (StringUtils.isNotEmpty(isCertification)) {
             searchParams.put("isCertification",isCertification);
         }
 

+ 64 - 8
web/src/main/java/com/jpsoft/employment/modules/base/controller/UserAuthenticationApproveController.java

@@ -6,12 +6,19 @@ import com.jpsoft.employment.modules.base.service.UserAuthenticationApproveServi
 import com.jpsoft.employment.modules.common.dto.MessageResult;
 import com.jpsoft.employment.modules.common.dto.Sort;
 import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.job.entity.JobUser;
+import com.jpsoft.employment.modules.job.service.JobUserService;
+import com.jpsoft.employment.modules.sys.entity.DataDictionary;
+import com.jpsoft.employment.modules.sys.entity.User;
+import com.jpsoft.employment.modules.sys.service.DataDictionaryService;
+import com.jpsoft.employment.modules.sys.service.UserService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.apache.commons.lang3.StringUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.*;
 
 import javax.servlet.http.HttpServletRequest;
@@ -26,6 +33,12 @@ public class UserAuthenticationApproveController {
 
     @Autowired
     private UserAuthenticationApproveService userAuthenticationApproveService;
+    @Autowired
+    private DataDictionaryService dataDictionaryService;
+    @Autowired
+    private JobUserService jobUserService;
+    @Autowired
+    private UserService userService;
 
     @ApiOperation(value="创建空记录")
     @GetMapping("create")
@@ -196,30 +209,73 @@ public class UserAuthenticationApproveController {
     @ApiOperation(value="列表")
     @RequestMapping(value = "pageList",method = RequestMethod.POST)
     public MessageResult<Map> pageList(
-            String id,
+            String approvalStatus,
             @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
             @RequestParam(value="pageSize",defaultValue="20") int pageSize,
             @RequestAttribute String subject){
-
-        //当前用户ID
-        System.out.println(subject);
-
         MessageResult<Map> msgResult = new MessageResult<>();
 
         Map<String,Object> searchParams = new HashMap<>();
 
         List<Sort> sortList = new ArrayList<>();
-        sortList.add(new Sort("id_","asc"));
+        sortList.add(new Sort("create_time","asc"));
 
-        if (StringUtils.isNotEmpty(id)) {
-            searchParams.put("id","%" + id + "%");
+        if (StringUtils.isNotEmpty(approvalStatus)) {
+            searchParams.put("approvalStatus",approvalStatus);
         }
 
         Page<UserAuthenticationApprove> page = userAuthenticationApproveService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+        for(UserAuthenticationApprove userAuthenticationApprove : page.getResult()){
+            userAuthenticationApprove.setApprovalStatusName(dataDictionaryService.findNameByCatalogNameAndValue("实名制状态",userAuthenticationApprove.getApprovalStatus()));
+            JobUser jobUser = jobUserService.get(userAuthenticationApprove.getJobUserId());
+            userAuthenticationApprove.setJobUserName(jobUser.getRealName());
+            if(StringUtils.isNotEmpty(userAuthenticationApprove.getApprovePersonId())){
+                User user = userService.get(userAuthenticationApprove.getApprovePersonId());
+                userAuthenticationApprove.setApprovePersonName(user.getRealName());
+            }
+        }
 
         msgResult.setResult(true);
         msgResult.setData(PojoUtils.pageWrapper(page));
 
         return msgResult;
     }
+
+    @ApiOperation(value="实名审核")
+    @PostMapping("checked")
+    @Transactional(rollbackFor = Exception.class)
+    public MessageResult<UserAuthenticationApprove> checked(String id,@RequestAttribute String subject){
+        MessageResult<UserAuthenticationApprove> msgResult = new MessageResult<>();
+
+        try {
+            UserAuthenticationApprove userAuthenticationApprove = userAuthenticationApproveService.get(id);
+            userAuthenticationApprove.setApprovalStatus("2");
+            userAuthenticationApprove.setUpdateBy(subject);
+            userAuthenticationApprove.setUpdateTime(new Date());
+
+            int affectCount = userAuthenticationApproveService.update(userAuthenticationApprove);
+
+            if (affectCount > 0) {
+                JobUser jobUser = jobUserService.get(userAuthenticationApprove.getJobUserId());
+                jobUser.setIsAuthentication("1");
+                jobUser.setUpdateBy(subject);
+                jobUser.setUpdateTime(new Date());
+                jobUserService.update(jobUser);
+
+                msgResult.setResult(true);
+                msgResult.setData(userAuthenticationApprove);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库更新失败");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
 }

+ 25 - 0
web/src/main/java/com/jpsoft/employment/modules/job/controller/JobUserController.java

@@ -974,4 +974,29 @@ public class JobUserController {
         return messageResult;
     }
 
+    @ApiOperation(value="获取信息")
+    @GetMapping("editChecked/{id}")
+    public MessageResult<JobUser> editChecked(@PathVariable("id") String id,@RequestAttribute String subject){
+        MessageResult<JobUser> msgResult = new MessageResult<>();
+
+        try {
+            JobUser jobUser = jobUserService.get(id);
+
+            if (jobUser != null) {
+                msgResult.setResult(true);
+                msgResult.setData(jobUser);
+            } else {
+                msgResult.setResult(false);
+                msgResult.setMessage("数据库不存在该记录!");
+            }
+        }
+        catch(Exception ex){
+            logger.error(ex.getMessage(),ex);
+
+            msgResult.setResult(false);
+            msgResult.setMessage(ex.getMessage());
+        }
+
+        return msgResult;
+    }
 }

+ 1 - 1
web/src/main/java/com/jpsoft/employment/modules/job/controller/ResumeController.java

@@ -215,7 +215,7 @@ public class ResumeController {
         List<Sort> sortList = new ArrayList<>();
         sortList.add(new Sort("a.id_","asc"));
 
-        if (StringUtils.isNotEmpty(positionCategoryId)) {
+        if (StringUtils.isNotEmpty(positionCategoryId) && !positionCategoryId.equals("null")) {
             searchParams.put("positionCategoryId",positionCategoryId);
         }
         if (StringUtils.isNotEmpty(approveStatus)) {

+ 12 - 10
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/ResumeApiController.java

@@ -380,6 +380,8 @@ public class ResumeApiController {
                 searchParams.put("chatStatus",chatStatus);
             }
 
+            searchParams.put("userId",subject);
+
             Page<ResumeDeliver> page = resumeDeliverService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
             for(ResumeDeliver rd : page.getResult()){
                 Recruitment recruitment = recruitmentService.get(rd.getJobRecruitmentId());
@@ -492,7 +494,7 @@ public class ResumeApiController {
                         updateWorkExp(resume.getId(),workExpDTOList,subject);
                     }
                 }
-                resume.setApproveStatus("2");//审批中
+                resume.setApproveStatus("3");//已审批
 
                 resumeService.insert(resume);
 
@@ -527,19 +529,19 @@ public class ResumeApiController {
                         updateWorkExp(resume.getId(),workExpDTOList,subject);
                     }
                 }
-                resume.setApproveStatus("2");//审批中
+                resume.setApproveStatus("3");//已审批
                 resumeService.update(resume);
             }
 
             //创建简历审批信息
-            ResumeApprove ra = new ResumeApprove();
-            ra.setId(UUID.randomUUID().toString());
-            ra.setCreateBy(subject);
-            ra.setCreateTime(new Date());
-            ra.setDelFlag(false);
-            ra.setJobResumeId(resume.getId());
-            ra.setApprovalStatus("2");//简历审批中
-            resumeApproveService.insert(ra);
+//            ResumeApprove ra = new ResumeApprove();
+//            ra.setId(UUID.randomUUID().toString());
+//            ra.setCreateBy(subject);
+//            ra.setCreateTime(new Date());
+//            ra.setDelFlag(false);
+//            ra.setJobResumeId(resume.getId());
+//            ra.setApprovalStatus("2");//简历审批中
+//            resumeApproveService.insert(ra);
 
 
             messageResult.setResult(true);

+ 2 - 1
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/UserBrowseApiController.java

@@ -48,7 +48,8 @@ public class UserBrowseApiController {
     public MessageResult<Map> pagedLoad( @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
                                          @RequestParam(value="pageSize",defaultValue="20") int pageSize,
                                          @RequestParam(value="type",defaultValue="0") int type,
-                                         @RequestAttribute String subject){
+                                         @RequestAttribute String subject,
+                                         String token){
         try{
             List<Sort> sortList = new ArrayList<>();
 

+ 213 - 0
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/UserBrowseHrApiController.java

@@ -0,0 +1,213 @@
+package com.jpsoft.employment.modules.mobile.controller;
+
+import cn.hutool.core.util.IdcardUtil;
+import com.github.pagehelper.Page;
+import com.jpsoft.employment.modules.common.dto.MessageResult;
+import com.jpsoft.employment.modules.common.dto.Sort;
+import com.jpsoft.employment.modules.common.utils.PojoUtils;
+import com.jpsoft.employment.modules.job.dto.ResumeDeliverHrDTO;
+import com.jpsoft.employment.modules.job.entity.*;
+import com.jpsoft.employment.modules.job.service.*;
+import com.jpsoft.employment.modules.sys.entity.DataDictionary;
+import com.jpsoft.employment.modules.sys.service.DataDictionaryService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.lang3.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import javax.servlet.http.HttpServletRequest;
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+@RestController
+@RequestMapping("/mobile/userBrowseApi")
+@Api(tags = "移动端接口:招聘方[浏览记录]")
+@Slf4j
+public class UserBrowseHrApiController {
+    @Autowired
+    private UserBrowseHrService userBrowseHrService;
+
+    @Autowired
+    private JobUserService jobUserService;
+
+    @Autowired
+    private ResumeService rsumeService;
+
+    @Autowired
+    private ResumeWorkExperienceService resumeWorkExperienceService;
+
+    @Autowired
+    private DataDictionaryService dataDictionaryService;
+
+    @Autowired
+    private WorkCategoryService workCategoryService;
+
+    @PostMapping("pageListHR")
+    @ApiOperation(value = "浏览记录")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "positionName", value = "职位名称关键字", required = false, paramType = "query")
+    })
+    public MessageResult<Map> pageListHR(
+            String token,String positionName,String positionCategoryId,Integer age,String sex,
+            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");
+
+        //当前用户ID
+        System.out.println(subject);
+
+        MessageResult<Map> msgResult = new MessageResult<>();
+
+        Map<String,Object> searchParams = new HashMap<>();
+
+        List<Sort> sortList = new ArrayList<>();
+        sortList.add(new Sort("a.create_time","desc"));
+
+        if(StringUtils.isNotEmpty(positionCategoryId)){
+            searchParams.put("positionCategoryId",positionCategoryId);
+        }
+
+        if(StringUtils.isNotEmpty(sex)){
+            if(!"100b3725-cb26-4d71-af3c-5b01c98f776b".equals(sex)) {
+                searchParams.put("sex", sex);
+            }
+        }
+
+        if(age!=null){
+            SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
+
+            Calendar cal = Calendar.getInstance();
+
+            cal.setTime(new Date());
+
+            cal.add(Calendar.YEAR,-age);
+
+            String curDate = sdf.format(cal.getTime());
+
+            searchParams.put("curDate",curDate);
+        }
+
+        if(StringUtils.isNotEmpty(workExp)){
+            searchParams.put("workExp",workExp);
+        }
+
+        if(StringUtils.isNotEmpty(education)){
+            searchParams.put("education",education);
+        }
+
+        if (StringUtils.isNotEmpty(createTimeRange)) {
+            String[] timeRangeArray = createTimeRange.split(",");
+            String beginTime = "";
+            String endTime = "";
+            beginTime+=" 00:00:00";
+            if (timeRangeArray.length == 1) {
+                beginTime = timeRangeArray[0];
+            } else if (timeRangeArray.length == 2) {
+                beginTime = timeRangeArray[0];
+                endTime = timeRangeArray[1];
+                beginTime+=" 00:00:00";
+                endTime+=" 23:59:59";
+            }
+
+            searchParams.put("beginTime", beginTime);
+            searchParams.put("endTime", endTime);
+        }
+
+        if(StringUtils.isNotEmpty(positionName)){
+            searchParams.put("positionName","%"+positionName+"%");
+        }
+
+        Page<UserBrowseHr> page = userBrowseHrService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
+
+
+        Page<ResumeDeliverHrDTO> pageDto = new Page<>();
+
+        for (UserBrowseHr userBrowseHr:page) {
+
+            ResumeDeliverHrDTO dto = new ResumeDeliverHrDTO();
+
+            dto.setId(userBrowseHr.getId());
+            dto.setCreateTime(userBrowseHr.getCreateTime());
+
+            Resume resume = rsumeService.get(userBrowseHr.getJobResumeId());
+
+            String workExpName="";
+            String dreamMoneyName="";
+            String educationName="";
+//            String positionName = "";
+
+
+            if(resume!=null){
+                DataDictionary dataDictionary = dataDictionaryService.get(resume.getWorkExp());
+
+                if(dataDictionary!=null){
+                    workExpName = dataDictionary.getName();
+                }
+
+                DataDictionary dataDictionary1 = dataDictionaryService.get(resume.getDreamMoney());
+                if(dataDictionary1!=null){
+                    dreamMoneyName = dataDictionary1.getName();
+                }
+
+                DataDictionary dataDictionary2 = dataDictionaryService.get(resume.getEducation());
+
+                if(dataDictionary2!=null){
+                    educationName = dataDictionary2.getName();
+                }
+
+
+                List<ResumeWorkExperience> resumeWorkExperienceList = resumeWorkExperienceService.findByResumeId(resume.getId());
+
+                dto.setResumeWorkExperienceList(resumeWorkExperienceList);
+
+
+
+                JobUser jobUser = jobUserService.get(resume.getJobUserId());
+
+                if(jobUser!=null){
+                    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())){
+                        int ageN = IdcardUtil.getAgeByIdCard(jobUser.getIdCard());
+                        dto.setAge(ageN);
+                    }
+                }
+
+                WorkCategory workCategory = workCategoryService.get(resume.getPositionCategoryId());
+                if(workCategory!=null){
+                    positionName = workCategory.getName();
+                }
+            }
+
+            dto.setPositionName(positionName);
+            dto.setWorkExp(workExpName);
+            dto.setEducation(educationName);
+            dto.setDreamMoney(dreamMoneyName);
+
+
+            pageDto.add(dto);
+        }
+
+        pageDto.setPages(page.getPages());
+        pageDto.setTotal(page.getTotal());
+        pageDto.setPageNum(page.getPageNum());
+
+
+        msgResult.setResult(true);
+        msgResult.setData(PojoUtils.pageWrapper(pageDto));
+
+        return msgResult;
+    }
+}