Commit 82edbfeb authored by 李成龙's avatar 李成龙

修改人员详情页缺少子类型/学历/专业/职称字段。

parent c14de0f5
......@@ -67,12 +67,21 @@ public class TzsUserInfoVo {
*/
@TableField("education")
private String education;
/**
* 学历
*/
@TableField("education_required")
private String education_required;
/**
* 专业
*/
@TableField("speciality")
private String speciality;
/**
* 专业
*/
@TableField("speciality_required")
private String speciality_required;
/**
* 邮箱
......@@ -156,7 +165,13 @@ public class TzsUserInfoVo {
/**
* 职称
*/
@TableField("job_title")
private String jobTitle;
/**
* 职称
*/
@TableField("job_title_required")
private String jobTitle_required;
@ApiModelProperty(value = "人员类型名称")
private String postName;
......
......@@ -85,6 +85,9 @@ public class UserBizByTCMServiceImpl {
tzsUserInfoVo.setAppointDoc(ObjectUtils.isEmpty(tzsUserInfo.getAppointDoc()) ? null : JSON.parseArray(tzsUserInfo.getAppointDoc()));
tzsUserInfoVo.setOtherAccessories(ObjectUtils.isEmpty(tzsUserInfo.getOtherAccessories()) ? null : JSON.parseArray(tzsUserInfo.getOtherAccessories()));
tzsUserInfoVo.setBirthday(tzsUserInfo.getBirthday() != null ? DateUtils.longStrDate(tzsUserInfo.getBirthday()): null);
tzsUserInfoVo.setSpeciality_required(tzsUserInfo.getSpeciality());
tzsUserInfoVo.setEducation_required(tzsUserInfo.getEducation());
tzsUserInfoVo.setJobTitle_required(tzsUserInfo.getJobTitle());
String companyType = getUnitType();
tzsUserInfoVo.setCompanyType(companyType.contains("个人主体") ? "individual" : "no-individual");
Map<String, Object> userInfoMap = BeanUtil.beanToMap(tzsUserInfoVo);
......
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