添加 招聘分类 字段
This commit is contained in:
@@ -30,4 +30,9 @@ public class JobIntentionDto {
|
|||||||
* 就业类型:0=全职,1=实习
|
* 就业类型:0=全职,1=实习
|
||||||
*/
|
*/
|
||||||
private Integer employmentType;
|
private Integer employmentType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招聘分类: 0=社招, 1=校招, 2=实习, 3=其他
|
||||||
|
*/
|
||||||
|
private Integer recruitCategory;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,4 +30,9 @@ public class JobIntentionParam {
|
|||||||
* 就业类型:0=全职,1=实习
|
* 就业类型:0=全职,1=实习
|
||||||
*/
|
*/
|
||||||
private Integer employmentType;
|
private Integer employmentType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招聘分类: 0=社招, 1=校招, 2=实习, 3=其他
|
||||||
|
*/
|
||||||
|
private Integer recruitCategory;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ public class JobIntentionService {
|
|||||||
po.setRegionCodes(param.getRegionCodes() != null ? param.getRegionCodes() : java.util.Collections.emptyList());
|
po.setRegionCodes(param.getRegionCodes() != null ? param.getRegionCodes() : java.util.Collections.emptyList());
|
||||||
po.setIndustryIds(param.getIndustryIds() != null ? param.getIndustryIds() : java.util.Collections.emptyList());
|
po.setIndustryIds(param.getIndustryIds() != null ? param.getIndustryIds() : java.util.Collections.emptyList());
|
||||||
po.setEmploymentType(param.getEmploymentType());
|
po.setEmploymentType(param.getEmploymentType());
|
||||||
|
po.setRecruitCategory(param.getRecruitCategory());
|
||||||
po.setCreateTime(Instant.now());
|
po.setCreateTime(Instant.now());
|
||||||
po.setUpdateTime(Instant.now());
|
po.setUpdateTime(Instant.now());
|
||||||
intentionMapper.insert(po);
|
intentionMapper.insert(po);
|
||||||
@@ -63,6 +64,7 @@ public class JobIntentionService {
|
|||||||
po.setRegionCodes(param.getRegionCodes() != null ? param.getRegionCodes() : java.util.Collections.emptyList());
|
po.setRegionCodes(param.getRegionCodes() != null ? param.getRegionCodes() : java.util.Collections.emptyList());
|
||||||
po.setIndustryIds(param.getIndustryIds() != null ? param.getIndustryIds() : java.util.Collections.emptyList());
|
po.setIndustryIds(param.getIndustryIds() != null ? param.getIndustryIds() : java.util.Collections.emptyList());
|
||||||
po.setEmploymentType(param.getEmploymentType());
|
po.setEmploymentType(param.getEmploymentType());
|
||||||
|
po.setRecruitCategory(param.getRecruitCategory());
|
||||||
po.setUpdateTime(Instant.now());
|
po.setUpdateTime(Instant.now());
|
||||||
intentionMapper.updateById(po);
|
intentionMapper.updateById(po);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,6 +41,9 @@ public class UserJobIntention {
|
|||||||
/** 工作类型 0=全职 1=实习 */
|
/** 工作类型 0=全职 1=实习 */
|
||||||
private Integer employmentType;
|
private Integer employmentType;
|
||||||
|
|
||||||
|
/** 招聘分类: 0=社招, 1=校招, 2=实习, 3=其他 */
|
||||||
|
private Integer recruitCategory;
|
||||||
|
|
||||||
/** 创建时间 */
|
/** 创建时间 */
|
||||||
private Instant createTime;
|
private Instant createTime;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user