diff --git a/client-api/src/main/java/org/jiayunet/pojo/dto/job/JobIntentionDto.java b/client-api/src/main/java/org/jiayunet/pojo/dto/job/JobIntentionDto.java index 556188f..5f9e367 100644 --- a/client-api/src/main/java/org/jiayunet/pojo/dto/job/JobIntentionDto.java +++ b/client-api/src/main/java/org/jiayunet/pojo/dto/job/JobIntentionDto.java @@ -30,4 +30,9 @@ public class JobIntentionDto { * 就业类型:0=全职,1=实习 */ private Integer employmentType; + + /** + * 招聘分类: 0=社招, 1=校招, 2=实习, 3=其他 + */ + private Integer recruitCategory; } diff --git a/client-api/src/main/java/org/jiayunet/pojo/param/job/JobIntentionParam.java b/client-api/src/main/java/org/jiayunet/pojo/param/job/JobIntentionParam.java index 8a6bd22..b5b3b00 100644 --- a/client-api/src/main/java/org/jiayunet/pojo/param/job/JobIntentionParam.java +++ b/client-api/src/main/java/org/jiayunet/pojo/param/job/JobIntentionParam.java @@ -30,4 +30,9 @@ public class JobIntentionParam { * 就业类型:0=全职,1=实习 */ private Integer employmentType; + + /** + * 招聘分类: 0=社招, 1=校招, 2=实习, 3=其他 + */ + private Integer recruitCategory; } diff --git a/client-api/src/main/java/org/jiayunet/service/JobIntentionService.java b/client-api/src/main/java/org/jiayunet/service/JobIntentionService.java index 78f0728..7029192 100644 --- a/client-api/src/main/java/org/jiayunet/service/JobIntentionService.java +++ b/client-api/src/main/java/org/jiayunet/service/JobIntentionService.java @@ -55,6 +55,7 @@ public class JobIntentionService { po.setRegionCodes(param.getRegionCodes() != null ? param.getRegionCodes() : java.util.Collections.emptyList()); po.setIndustryIds(param.getIndustryIds() != null ? param.getIndustryIds() : java.util.Collections.emptyList()); po.setEmploymentType(param.getEmploymentType()); + po.setRecruitCategory(param.getRecruitCategory()); po.setCreateTime(Instant.now()); po.setUpdateTime(Instant.now()); intentionMapper.insert(po); @@ -63,6 +64,7 @@ public class JobIntentionService { po.setRegionCodes(param.getRegionCodes() != null ? param.getRegionCodes() : java.util.Collections.emptyList()); po.setIndustryIds(param.getIndustryIds() != null ? param.getIndustryIds() : java.util.Collections.emptyList()); po.setEmploymentType(param.getEmploymentType()); + po.setRecruitCategory(param.getRecruitCategory()); po.setUpdateTime(Instant.now()); intentionMapper.updateById(po); } diff --git a/manager/src/main/java/org/jiayunet/pojo/po/UserJobIntention.java b/manager/src/main/java/org/jiayunet/pojo/po/UserJobIntention.java index 5efac7e..440ae0e 100644 --- a/manager/src/main/java/org/jiayunet/pojo/po/UserJobIntention.java +++ b/manager/src/main/java/org/jiayunet/pojo/po/UserJobIntention.java @@ -41,6 +41,9 @@ public class UserJobIntention { /** 工作类型 0=全职 1=实习 */ private Integer employmentType; + /** 招聘分类: 0=社招, 1=校招, 2=实习, 3=其他 */ + private Integer recruitCategory; + /** 创建时间 */ private Instant createTime;