Commit a6d85baa by 284718418@qq.com

招聘管理-标准简历代码

parent 09d66af3
...@@ -67,6 +67,11 @@ public class ZpglCptk extends Model<ZpglCptk> { ...@@ -67,6 +67,11 @@ public class ZpglCptk extends Model<ZpglCptk> {
@ApiModelProperty(value = "选项") @ApiModelProperty(value = "选项")
private String answerD; private String answerD;
/** /**
* 排序:从小到大
*/
@ApiModelProperty(value = "排序:从小到大")
private Integer sort;
/**
* 用户ID * 用户ID
*/ */
@ApiModelProperty(value = "用户ID") @ApiModelProperty(value = "用户ID")
......
...@@ -66,15 +66,10 @@ public class ZpglDtk extends Model<ZpglDtk> { ...@@ -66,15 +66,10 @@ public class ZpglDtk extends Model<ZpglDtk> {
@ApiModelProperty(value = "总分值") @ApiModelProperty(value = "总分值")
private Integer count; private Integer count;
/** /**
* 用户ID * 对应人才信息表ID
*/ */
@ApiModelProperty(value = "用户ID") @ApiModelProperty(value = "对应人才信息表ID")
private Integer userId; private Integer zpglRcxxId;
/**
* 用户姓名
*/
@ApiModelProperty(value = "用户姓名")
private String userName;
/** /**
* 创建时间 * 创建时间
*/ */
......
package cn.timer.api.bean.zpgl; package cn.timer.api.bean.zpgl;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model; import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.GeneratedValue; import javax.persistence.GeneratedValue;
...@@ -47,11 +50,15 @@ public class ZpglRcxxProject extends Model<ZpglRcxxProject> { ...@@ -47,11 +50,15 @@ public class ZpglRcxxProject extends Model<ZpglRcxxProject> {
/** /**
* 开始时间 * 开始时间
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JSONField(format = "yyyy-MM-dd")
@ApiModelProperty(value = "开始时间") @ApiModelProperty(value = "开始时间")
private Date startTime; private Date startTime;
/** /**
* 结束时间 * 结束时间
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
@ApiModelProperty(value = "结束时间") @ApiModelProperty(value = "结束时间")
private Date endTime; private Date endTime;
/** /**
......
...@@ -6,9 +6,7 @@ import cn.timer.api.bean.kqmk.*; ...@@ -6,9 +6,7 @@ import cn.timer.api.bean.kqmk.*;
import cn.timer.api.bean.qyzx.QyzxEmpEntAsso; import cn.timer.api.bean.qyzx.QyzxEmpEntAsso;
import cn.timer.api.bean.qyzx.QyzxEmpLogin; import cn.timer.api.bean.qyzx.QyzxEmpLogin;
import cn.timer.api.bean.yggl.YgglMainEmp; import cn.timer.api.bean.yggl.YgglMainEmp;
import cn.timer.api.bean.zpgl.ZpglRcxx; import cn.timer.api.bean.zpgl.*;
import cn.timer.api.bean.zpgl.ZpglRcxxProject;
import cn.timer.api.bean.zpgl.ZpglZwxx;
import cn.timer.api.config.annotation.CurrentUser; import cn.timer.api.config.annotation.CurrentUser;
import cn.timer.api.config.annotation.UserBean; import cn.timer.api.config.annotation.UserBean;
import cn.timer.api.config.enuminterface.JxglEnumInterface; import cn.timer.api.config.enuminterface.JxglEnumInterface;
...@@ -134,7 +132,7 @@ public class ZpglController { ...@@ -134,7 +132,7 @@ public class ZpglController {
zpglRcxxPage.getPages(); zpglRcxxPage.getPages();
zpglRcxxPage.getTotal(); zpglRcxxPage.getTotal();
zpglRcxxPage.getSize(); zpglRcxxPage.getSize();
Map<String, Object> map = new HashMap<>(2); Map<String, Object> map = new HashMap<>(9);
map.put("zpglRcxxs", zpglRcxxs); map.put("zpglRcxxs", zpglRcxxs);
map.put("FILTERING", this.getNum(queryWrapper,JxglEnumInterface.ResumeStatus.FILTERING.getType(),userBean.getOrgCode())); map.put("FILTERING", this.getNum(queryWrapper,JxglEnumInterface.ResumeStatus.FILTERING.getType(),userBean.getOrgCode()));
map.put("FILTER_PASS", this.getNum(queryWrapper,JxglEnumInterface.ResumeStatus.FILTER_PASS.getType(),userBean.getOrgCode())); map.put("FILTER_PASS", this.getNum(queryWrapper,JxglEnumInterface.ResumeStatus.FILTER_PASS.getType(),userBean.getOrgCode()));
...@@ -484,6 +482,59 @@ public class ZpglController { ...@@ -484,6 +482,59 @@ public class ZpglController {
} }
/** /**
* 招聘-标准简历信息
*
* @param
* @return
*/
@GetMapping(value = "/standard/recruit")
@ApiOperation(value = "9.招聘-标准简历信息", httpMethod = "GET", notes = "招聘-标准简历信息")
@ApiOperationSupport(order = 9)
public Result<Object> standardRecruit(@CurrentUser UserBean userBean,
@ApiParam("人才信息ID") @RequestParam(required = false) Integer zpglRcxxId) {
try {
ZpglRcxx zpglRcxx = ZpglRcxx.builder().id(zpglRcxxId).build().selectById();
// 工作经验
List<ZpglRcxxExperience> zpglRcxxExperiences = ZpglRcxxExperience.builder().build().selectList(
new QueryWrapper<ZpglRcxxExperience>().lambda().eq(ZpglRcxxExperience::getZpglRcxxId, zpglRcxxId)
.eq(ZpglRcxxExperience::getIsDelete,0).orderByDesc(ZpglRcxxExperience::getEndTime)
);
// 教育经历
List<ZpglRcxxStudy> zpglRcxxStudys = ZpglRcxxStudy.builder().build().selectList(
new QueryWrapper<ZpglRcxxStudy>().lambda().eq(ZpglRcxxStudy::getZpglRcxxId, zpglRcxxId)
.eq(ZpglRcxxStudy::getIsDelete,0).orderByDesc(ZpglRcxxStudy::getEndTime)
);
// 项目经历
List<ZpglRcxxProject> zpglRcxxProjects = ZpglRcxxProject.builder().build().selectList(
new QueryWrapper<ZpglRcxxProject>().lambda().eq(ZpglRcxxProject::getZpglRcxxId, zpglRcxxId)
.eq(ZpglRcxxProject::getDeleteFlag,0).orderByDesc(ZpglRcxxProject::getEndTime)
);
// 培训经验
List<ZpglRcxxTrain> zpglRcxxTrains = ZpglRcxxTrain.builder().build().selectList(
new QueryWrapper<ZpglRcxxTrain>().lambda().eq(ZpglRcxxTrain::getZpglRcxxId, zpglRcxxId)
.eq(ZpglRcxxTrain::getIsDelete,0).orderByDesc(ZpglRcxxTrain::getEndTime)
);
// FPA性格测评数据
ZpglDtk zpglDtk = ZpglDtk.builder().build().selectOne(new QueryWrapper<ZpglDtk>().lambda().eq(ZpglDtk::getZpglRcxxId, zpglRcxxId));
Map<String, Object> map = new HashMap<>(4);
map.put("zpglRcxx", zpglRcxx);
map.put("zpglRcxxExperiences", zpglRcxxExperiences);
map.put("zpglRcxxStudys", zpglRcxxStudys);
map.put("zpglRcxxProjects", zpglRcxxProjects);
map.put("zpglRcxxTrains", zpglRcxxTrains);
map.put("zpglDtk", zpglDtk);
return ResultUtil.data(map,"搜索成功");
} catch (Exception e) {
e.printStackTrace();
throw new CustomException("获取招聘-标准简历信息失败");
}
}
/**
* 获取统计数据 * 获取统计数据
* @param queryWrapper * @param queryWrapper
* @param status * @param status
......
package cn.timer.api.controller.zpgl; package cn.timer.api.controller.zpgl;
import cn.hutool.core.util.StrUtil; import cn.timer.api.bean.zpgl.*;
import cn.timer.api.bean.clazz.SysRegion;
import cn.timer.api.bean.kqgl.UserEquiRelation;
import cn.timer.api.bean.kqmk.*;
import cn.timer.api.bean.qyzx.QyzxEmpEntAsso;
import cn.timer.api.bean.qyzx.QyzxEmpLogin;
import cn.timer.api.bean.yggl.YgglMainEmp;
import cn.timer.api.bean.zpgl.ZpglRcxx;
import cn.timer.api.bean.zpgl.ZpglZwxx;
import cn.timer.api.config.annotation.CurrentUser; import cn.timer.api.config.annotation.CurrentUser;
import cn.timer.api.config.annotation.UserBean; import cn.timer.api.config.annotation.UserBean;
import cn.timer.api.config.enuminterface.JxglEnumInterface;
import cn.timer.api.config.enuminterface.YgEnumInterface.jobStatus;
import cn.timer.api.config.enums.CommonEnum;
import cn.timer.api.config.enums.SysRoleType;
import cn.timer.api.config.exception.CustomException; import cn.timer.api.config.exception.CustomException;
import cn.timer.api.controller.kqgl.ClockInTool;
import cn.timer.api.controller.kqgl.atttimer.RealTimeUpdate; import cn.timer.api.controller.kqgl.atttimer.RealTimeUpdate;
import cn.timer.api.controller.zpgl.sevice.ZpglService; import cn.timer.api.controller.zpgl.sevice.ZpglService;
import cn.timer.api.dao.kqgl.UserEquiRelationMapper; import cn.timer.api.dao.kqgl.UserEquiRelationMapper;
...@@ -24,20 +11,15 @@ import cn.timer.api.dao.kqmk.KqglAssoKqzdkfsMapper; ...@@ -24,20 +11,15 @@ import cn.timer.api.dao.kqmk.KqglAssoKqzdkfsMapper;
import cn.timer.api.dao.qyzx.QyzxEmpLoginMapper; import cn.timer.api.dao.qyzx.QyzxEmpLoginMapper;
import cn.timer.api.dao.yggl.YgglMainEmpMapper; import cn.timer.api.dao.yggl.YgglMainEmpMapper;
import cn.timer.api.dao.zpgl.ZpglRcxxMapper; import cn.timer.api.dao.zpgl.ZpglRcxxMapper;
import cn.timer.api.dto.zpgl.ZpglRcxxDto;
import cn.timer.api.dto.zpgl.ZpglRcxxEntryDto;
import cn.timer.api.dto.zpgl.ZpglZwxxAddUpdateDto; import cn.timer.api.dto.zpgl.ZpglZwxxAddUpdateDto;
import cn.timer.api.dto.zpgl.ZpglZwxxDto; import cn.timer.api.dto.zpgl.ZpglZwxxDto;
import cn.timer.api.utils.Md5;
import cn.timer.api.utils.Result; import cn.timer.api.utils.Result;
import cn.timer.api.utils.ResultUtil; import cn.timer.api.utils.ResultUtil;
import cn.timer.api.utils.query.BaseQuery; import cn.timer.api.utils.query.BaseQuery;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.github.yulichang.query.MPJQueryWrapper;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
...@@ -45,24 +27,11 @@ import lombok.extern.slf4j.Slf4j; ...@@ -45,24 +27,11 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.ResponseEntity;
import org.springframework.transaction.interceptor.TransactionAspectSupport;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTemplate;
import javax.transaction.Transactional; import javax.transaction.Transactional;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map;
/** /**
* 招聘管理-招聘职位 * 招聘管理-招聘职位
...@@ -197,5 +166,4 @@ public class ZpglZwxxController { ...@@ -197,5 +166,4 @@ public class ZpglZwxxController {
} }
} }
} }
...@@ -63,5 +63,6 @@ public class BasicInfo implements Serializable { ...@@ -63,5 +63,6 @@ public class BasicInfo implements Serializable {
private String qq; // QQ号:QQ号码 private String qq; // QQ号:QQ号码
// 微信号:微信账号 // 微信号:微信账号
private String wechat; private String wechat;
private String skill_text;
} }
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<result property="answerB" column="answer_b"/> <result property="answerB" column="answer_b"/>
<result property="answerC" column="answer_c"/> <result property="answerC" column="answer_c"/>
<result property="answerD" column="answer_d"/> <result property="answerD" column="answer_d"/>
<result property="sort" column="sort"/>
<result property="userId" column="user_id"/> <result property="userId" column="user_id"/>
<result property="userName" column="user_name"/> <result property="userName" column="user_name"/>
<result property="createTime" column="create_time"/> <result property="createTime" column="create_time"/>
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
<result property="yellow" column="yellow"/> <result property="yellow" column="yellow"/>
<result property="green" column="green"/> <result property="green" column="green"/>
<result property="count" column="count"/> <result property="count" column="count"/>
<result property="userId" column="user_id"/> <result property="zpglRcxxId" column="zpgl_rcxx_id"/>
<result property="userName" column="user_name"/>
<result property="createTime" column="create_time"/> <result property="createTime" column="create_time"/>
</resultMap> </resultMap>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment