|
|
@@ -110,198 +110,33 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
return jobAdvertisedMapper.selectPage(pageReqVO);
|
|
|
}
|
|
|
|
|
|
- public PageResult<AppJobAdvertisedHomeRespVO> generate() {
|
|
|
- PageResult<AppJobAdvertisedHomeRespVO> result = new PageResult<>();
|
|
|
- List<AppJobAdvertisedHomeRespVO> list = new ArrayList<>();
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO1 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO1.setId(1L);
|
|
|
- respVO1.setAreaId(110000L);
|
|
|
- respVO1.setPositionId(1L);
|
|
|
- respVO1.setPayFrom(BigDecimal.valueOf(5));
|
|
|
- respVO1.setPayTo(BigDecimal.valueOf(12));
|
|
|
- respVO1.setPayUnit("2");
|
|
|
- respVO1.setName("项目经理");
|
|
|
- respVO1.setExpType("0");
|
|
|
- respVO1.setEduType("0");
|
|
|
- respVO1.setTagList(new ArrayList<>());
|
|
|
- respVO1.setEnterpriseId(1L);
|
|
|
- respVO1.setAnotherName("门墩儿科技");
|
|
|
- respVO1.setIndustryId(1L);
|
|
|
- respVO1.setScale("0");
|
|
|
- respVO1.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO1);
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO2 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO2.setId(2L);
|
|
|
- respVO2.setAreaId(440100L);
|
|
|
- respVO2.setPositionId(2L);
|
|
|
- respVO2.setPayFrom(BigDecimal.valueOf(18));
|
|
|
- respVO2.setPayTo(BigDecimal.valueOf(22));
|
|
|
- respVO2.setPayUnit("1");
|
|
|
- respVO2.setName("车间主任");
|
|
|
- respVO2.setExpType("1");
|
|
|
- respVO2.setEduType("1");
|
|
|
- respVO2.setTagList(new ArrayList<>());
|
|
|
- respVO2.setEnterpriseId(1L);
|
|
|
- respVO2.setAnotherName("门墩儿科技");
|
|
|
- respVO2.setIndustryId(2L);
|
|
|
- respVO2.setScale("1");
|
|
|
- respVO2.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO2);
|
|
|
-
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO3 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO3.setId(3L);
|
|
|
- respVO3.setAreaId(440300L);
|
|
|
- respVO3.setPositionId(3L);
|
|
|
- respVO3.setPayFrom(BigDecimal.valueOf(18));
|
|
|
- respVO3.setPayTo(BigDecimal.valueOf(22));
|
|
|
- respVO3.setPayUnit("3");
|
|
|
- respVO3.setName("网管");
|
|
|
- respVO3.setExpType("2");
|
|
|
- respVO3.setEduType("2");
|
|
|
- respVO3.setTagList(new ArrayList<>());
|
|
|
- respVO3.setEnterpriseId(1L);
|
|
|
- respVO3.setAnotherName("门墩儿科技");
|
|
|
- respVO3.setIndustryId(3L);
|
|
|
- respVO3.setScale("2");
|
|
|
- respVO3.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO3);
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO4 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO4.setId(4L);
|
|
|
- respVO4.setAreaId(440600L);
|
|
|
- respVO4.setPositionId(4L);
|
|
|
- respVO4.setPayFrom(BigDecimal.valueOf(2));
|
|
|
- respVO4.setPayTo(BigDecimal.valueOf(3));
|
|
|
- respVO4.setPayUnit("0");
|
|
|
- respVO4.setName("前台");
|
|
|
- respVO4.setExpType("3");
|
|
|
- respVO4.setEduType("3");
|
|
|
- respVO4.setTagList(new ArrayList<>());
|
|
|
- respVO4.setEnterpriseId(1L);
|
|
|
- respVO4.setAnotherName("门墩儿科技");
|
|
|
- respVO4.setIndustryId(4L);
|
|
|
- respVO4.setScale("3");
|
|
|
- respVO4.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO4);
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO5 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO5.setId(5L);
|
|
|
- respVO5.setAreaId(441200L);
|
|
|
- respVO5.setPositionId(5L);
|
|
|
- respVO5.setPayFrom(BigDecimal.valueOf(20));
|
|
|
- respVO5.setPayTo(BigDecimal.valueOf(30));
|
|
|
- respVO5.setPayUnit("1");
|
|
|
- respVO5.setName("保姆");
|
|
|
- respVO5.setExpType("4");
|
|
|
- respVO5.setEduType("4");
|
|
|
- respVO5.setTagList(ListUtil.of("年终奖", "不需要出国工作", "医药设备"));
|
|
|
- respVO5.setEnterpriseId(1L);
|
|
|
- respVO5.setAnotherName("门墩儿科技");
|
|
|
- respVO5.setIndustryId(5L);
|
|
|
- respVO5.setScale("4");
|
|
|
- respVO5.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO5);
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO6 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO6.setId(6L);
|
|
|
- respVO6.setAreaId(440800L);
|
|
|
- respVO6.setPositionId(6L);
|
|
|
- respVO6.setPayFrom(BigDecimal.valueOf(100));
|
|
|
- respVO6.setPayTo(BigDecimal.valueOf(200));
|
|
|
- respVO6.setPayUnit("3");
|
|
|
- respVO6.setName("软件开发工程师");
|
|
|
- respVO6.setExpType("5");
|
|
|
- respVO6.setEduType("5");
|
|
|
- respVO6.setTagList(ListUtil.of("无经验要求", "金融产品", "不限", "不接受居家办公", "教育培训", "互联网金融"));
|
|
|
- respVO6.setEnterpriseId(1L);
|
|
|
- respVO6.setAnotherName("门墩儿科技");
|
|
|
- respVO6.setIndustryId(6L);
|
|
|
- respVO6.setScale("5");
|
|
|
- respVO6.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO6);
|
|
|
-
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO7 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO7.setId(7L);
|
|
|
- respVO7.setAreaId(441900L);
|
|
|
- respVO7.setPositionId(7L);
|
|
|
- respVO7.setPayFrom(BigDecimal.valueOf(100));
|
|
|
- respVO7.setPayTo(BigDecimal.valueOf(500));
|
|
|
- respVO7.setPayUnit("1");
|
|
|
- respVO7.setName("汇丰银行副行长");
|
|
|
- respVO7.setExpType("6");
|
|
|
- respVO7.setEduType("6");
|
|
|
- respVO7.setTagList(new ArrayList<>());
|
|
|
- respVO7.setEnterpriseId(1L);
|
|
|
- respVO7.setAnotherName("门墩儿科技");
|
|
|
- respVO7.setIndustryId(6L);
|
|
|
- respVO7.setScale("5");
|
|
|
- respVO7.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO7);
|
|
|
-
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO8 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO8.setId(8L);
|
|
|
- respVO8.setAreaId(441700L);
|
|
|
- respVO8.setPositionId(8L);
|
|
|
- respVO8.setPayFrom(BigDecimal.valueOf(1.2));
|
|
|
- respVO8.setPayTo(BigDecimal.valueOf(3.8));
|
|
|
- respVO8.setPayUnit("0");
|
|
|
- respVO8.setName("程序员");
|
|
|
- respVO8.setExpType("7");
|
|
|
- respVO8.setEduType("99");
|
|
|
- respVO8.setTagList(new ArrayList<>());
|
|
|
- respVO8.setEnterpriseId(1L);
|
|
|
- respVO8.setAnotherName("门墩儿科技");
|
|
|
- respVO8.setIndustryId(8L);
|
|
|
- respVO8.setScale("5");
|
|
|
- respVO8.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO8);
|
|
|
-
|
|
|
- AppJobAdvertisedHomeRespVO respVO9 = new AppJobAdvertisedHomeRespVO();
|
|
|
- respVO9.setId(9L);
|
|
|
- respVO9.setAreaId(445300L);
|
|
|
- respVO9.setPositionId(9L);
|
|
|
- respVO9.setPayFrom(BigDecimal.valueOf(3.2));
|
|
|
- respVO9.setPayTo(BigDecimal.valueOf(6.8));
|
|
|
- respVO9.setPayUnit("0");
|
|
|
- respVO9.setName("护林员");
|
|
|
- respVO9.setExpType("7");
|
|
|
- respVO9.setEduType("99");
|
|
|
- respVO9.setTagList(new ArrayList<>());
|
|
|
- respVO9.setEnterpriseId(1L);
|
|
|
- respVO9.setAnotherName("门墩儿科技");
|
|
|
- respVO9.setIndustryId(9L);
|
|
|
- respVO9.setScale("5");
|
|
|
- respVO8.setLogoUrl("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- list.add(respVO9);
|
|
|
-
|
|
|
- result.setList(list);
|
|
|
- result.setTotal(9L);
|
|
|
-
|
|
|
- return result;
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public PageResult<AppJobAdvertisedHomeRespVO> getRecommendedPage(PageParam pageParam) {
|
|
|
- return jobAdvertisedMapper.selectPage(pageParam);
|
|
|
+ AppJobAdvertisedPageReqVO pageReqVO =
|
|
|
+ new AppJobAdvertisedPageReqVO(pageParam,AppJobAdvertisedPageReqVO.RECOMMEND);
|
|
|
+ pageReqVO.setTop(true);
|
|
|
+ return jobAdvertisedMapper.selectPage(pageReqVO);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public PageResult<AppJobAdvertisedHomeRespVO> getLatestPage(PageParam pageParam) {
|
|
|
- return jobAdvertisedMapper.selectPage(pageParam);
|
|
|
+ AppJobAdvertisedPageReqVO pageReqVO =
|
|
|
+ new AppJobAdvertisedPageReqVO(pageParam,AppJobAdvertisedPageReqVO.NEW);
|
|
|
+ return jobAdvertisedMapper.selectPage(pageReqVO);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
@Override
|
|
|
- public PageResult<AppJobAdvertisedHomeRespVO> getUrgentPage(PageParam pageParam) {
|
|
|
- return jobAdvertisedMapper.selectPage(pageParam);
|
|
|
+ public PageResult<AppJobAdvertisedHomeRespVO> getAcquaintedPage(AppJobAdvertisedPageReqVO pageReqVO) {
|
|
|
+ pageReqVO.setMark(AppJobAdvertisedPageReqVO.ACQUAINTED);
|
|
|
+ return jobAdvertisedMapper.selectPage(pageReqVO);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public PageResult<AppJobAdvertisedHomeRespVO> getAcquaintedPage(AppJobAdvertisedPageReqVO pageReqVO) {
|
|
|
+ public PageResult<AppJobAdvertisedHomeRespVO> getHirePage(PageParam pageParam) {
|
|
|
+ AppJobAdvertisedPageReqVO pageReqVO =
|
|
|
+ new AppJobAdvertisedPageReqVO(pageParam,AppJobAdvertisedPageReqVO.HIRE);
|
|
|
+ pageReqVO.setHire(true);
|
|
|
return jobAdvertisedMapper.selectPage(pageReqVO);
|
|
|
}
|
|
|
|
|
|
@@ -468,8 +303,8 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public List<AppAdminJobSimpleRespVO> getList() {
|
|
|
- return jobAdvertisedMapper.list();
|
|
|
+ public List<AppAdminJobSimpleRespVO> getList(boolean hire) {
|
|
|
+ return jobAdvertisedMapper.list(hire);
|
|
|
}
|
|
|
|
|
|
@Override
|