|
@@ -6,7 +6,9 @@ import com.citu.framework.common.pojo.PageResult;
|
|
|
import com.citu.framework.common.util.object.BeanUtils;
|
|
|
import com.citu.module.menduner.system.controller.admin.job.vo.JobAdvertisedPageReqVO;
|
|
|
import com.citu.module.menduner.system.controller.admin.job.vo.JobAdvertisedSaveReqVO;
|
|
|
+import com.citu.module.menduner.system.controller.app.job.vo.AppEnterpriseJobHomeRespVO;
|
|
|
import com.citu.module.menduner.system.controller.app.job.vo.AppJobHomeRespVO;
|
|
|
+import com.citu.module.menduner.system.controller.app.job.vo.AppJobSimpleRespVO;
|
|
|
import com.citu.module.menduner.system.dal.dataobject.job.JobAdvertisedDO;
|
|
|
import com.citu.module.menduner.system.dal.mysql.job.JobAdvertisedMapper;
|
|
|
import org.apache.poi.hpsf.Decimal;
|
|
@@ -17,6 +19,7 @@ import javax.annotation.Resource;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
|
|
|
import static com.citu.framework.common.exception.util.ServiceExceptionUtil.exception;
|
|
@@ -90,7 +93,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO1.setName("项目经理");
|
|
|
respVO1.setExpType(0);
|
|
|
respVO1.setEduType(0);
|
|
|
- respVO1.setTagList("[]");
|
|
|
+ respVO1.setTagList(new ArrayList<>());
|
|
|
respVO1.setEnterpriseId(1L);
|
|
|
respVO1.setAnotherName("门墩儿科技");
|
|
|
respVO1.setIndustryId(1L);
|
|
@@ -108,7 +111,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO2.setName("车间主任");
|
|
|
respVO2.setExpType(1);
|
|
|
respVO2.setEduType(1);
|
|
|
- respVO2.setTagList("[]");
|
|
|
+ respVO2.setTagList(new ArrayList<>());
|
|
|
respVO2.setEnterpriseId(1L);
|
|
|
respVO2.setAnotherName("门墩儿科技");
|
|
|
respVO2.setIndustryId(2L);
|
|
@@ -127,7 +130,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO3.setName("网管");
|
|
|
respVO3.setExpType(2);
|
|
|
respVO3.setEduType(2);
|
|
|
- respVO3.setTagList("[]");
|
|
|
+ respVO3.setTagList(new ArrayList<>());
|
|
|
respVO3.setEnterpriseId(1L);
|
|
|
respVO3.setAnotherName("门墩儿科技");
|
|
|
respVO3.setIndustryId(3L);
|
|
@@ -145,7 +148,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO4.setName("前台");
|
|
|
respVO4.setExpType(3);
|
|
|
respVO4.setEduType(3);
|
|
|
- respVO4.setTagList("[]");
|
|
|
+ respVO4.setTagList(new ArrayList<>());
|
|
|
respVO4.setEnterpriseId(1L);
|
|
|
respVO4.setAnotherName("门墩儿科技");
|
|
|
respVO4.setIndustryId(4L);
|
|
@@ -163,7 +166,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO5.setName("保姆");
|
|
|
respVO5.setExpType(4);
|
|
|
respVO5.setEduType(4);
|
|
|
- respVO5.setTagList("[]");
|
|
|
+ respVO5.setTagList(new ArrayList<>());
|
|
|
respVO5.setEnterpriseId(1L);
|
|
|
respVO5.setAnotherName("门墩儿科技");
|
|
|
respVO5.setIndustryId(5L);
|
|
@@ -181,7 +184,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO6.setName("软件开发工程师");
|
|
|
respVO6.setExpType(5);
|
|
|
respVO6.setEduType(5);
|
|
|
- respVO6.setTagList("[]");
|
|
|
+ respVO6.setTagList(new ArrayList<>());
|
|
|
respVO6.setEnterpriseId(1L);
|
|
|
respVO6.setAnotherName("门墩儿科技");
|
|
|
respVO6.setIndustryId(6L);
|
|
@@ -200,7 +203,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO7.setName("汇丰银行副行长");
|
|
|
respVO7.setExpType(6);
|
|
|
respVO7.setEduType(6);
|
|
|
- respVO7.setTagList("[]");
|
|
|
+ respVO7.setTagList(new ArrayList<>());
|
|
|
respVO7.setEnterpriseId(1L);
|
|
|
respVO7.setAnotherName("门墩儿科技");
|
|
|
respVO7.setIndustryId(6L);
|
|
@@ -219,7 +222,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO8.setName("程序员");
|
|
|
respVO8.setExpType(7);
|
|
|
respVO8.setEduType(99);
|
|
|
- respVO8.setTagList("[]");
|
|
|
+ respVO8.setTagList(new ArrayList<>());
|
|
|
respVO8.setEnterpriseId(1L);
|
|
|
respVO8.setAnotherName("门墩儿科技");
|
|
|
respVO8.setIndustryId(8L);
|
|
@@ -237,7 +240,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO9.setName("护林员");
|
|
|
respVO9.setExpType(7);
|
|
|
respVO9.setEduType(99);
|
|
|
- respVO9.setTagList("[]");
|
|
|
+ respVO9.setTagList(new ArrayList<>());
|
|
|
respVO9.setEnterpriseId(1L);
|
|
|
respVO9.setAnotherName("门墩儿科技");
|
|
|
respVO9.setIndustryId(9L);
|
|
@@ -265,4 +268,93 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
public PageResult<AppJobHomeRespVO> getUrgentJobPage(PageParam pageParam) {
|
|
|
return generate();
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public PageResult<AppEnterpriseJobHomeRespVO> getHotEnterpriseJobPage(PageParam pageParam) {
|
|
|
+ PageResult<AppEnterpriseJobHomeRespVO> result=new PageResult<>();
|
|
|
+ List<AppEnterpriseJobHomeRespVO> list=new ArrayList<>();
|
|
|
+
|
|
|
+ AppEnterpriseJobHomeRespVO respVO1 =new AppEnterpriseJobHomeRespVO();
|
|
|
+ respVO1.setEnterpriseId(1L);
|
|
|
+ respVO1.setAnotherName("门墩儿科技");
|
|
|
+ respVO1.setIndustryId(1L);
|
|
|
+ respVO1.setScale(0);
|
|
|
+ respVO1.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
+ List<AppJobSimpleRespVO> list1 =new ArrayList<>();
|
|
|
+ AppJobSimpleRespVO job1=new AppJobHomeRespVO();
|
|
|
+ job1.setId(1L);
|
|
|
+ job1.setAreaId(110000L);
|
|
|
+ job1.setPositionId(1L);
|
|
|
+ job1.setPayFrom(BigDecimal.valueOf(5));
|
|
|
+ job1.setPayTo(BigDecimal.valueOf(12));
|
|
|
+ job1.setPayUnit(0);
|
|
|
+ job1.setName("项目经理");
|
|
|
+ job1.setExpType(0);
|
|
|
+ job1.setEduType(0);
|
|
|
+ job1.setTagList(new ArrayList<>());
|
|
|
+ list1.add(job1);
|
|
|
+
|
|
|
+ AppJobSimpleRespVO job2=new AppJobHomeRespVO();
|
|
|
+ job2.setId(2L);
|
|
|
+ job2.setAreaId(440100L);
|
|
|
+ job2.setPositionId(2L);
|
|
|
+ job2.setPayFrom(BigDecimal.valueOf(18));
|
|
|
+ job2.setPayTo(BigDecimal.valueOf(22));
|
|
|
+ job2.setPayUnit(1);
|
|
|
+ job2.setName("车间主任");
|
|
|
+ job2.setExpType(1);
|
|
|
+ job2.setEduType(1);
|
|
|
+ job2.setTagList(new ArrayList<>());
|
|
|
+ list1.add(job1);
|
|
|
+
|
|
|
+ respVO1.setJobList(list1);
|
|
|
+ list.add(respVO1);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ AppEnterpriseJobHomeRespVO respVO2 =new AppEnterpriseJobHomeRespVO();
|
|
|
+ respVO2.setEnterpriseId(33L);
|
|
|
+ respVO2.setAnotherName("XX科技");
|
|
|
+ respVO2.setIndustryId(33L);
|
|
|
+ respVO2.setScale(0);
|
|
|
+ respVO2.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
+ List<AppJobSimpleRespVO> list2 =new ArrayList<>();
|
|
|
+ AppJobSimpleRespVO job3=new AppJobHomeRespVO();
|
|
|
+ job3.setId(1L);
|
|
|
+ job3.setAreaId(110000L);
|
|
|
+ job3.setPositionId(1L);
|
|
|
+ job3.setPayFrom(BigDecimal.valueOf(5));
|
|
|
+ job3.setPayTo(BigDecimal.valueOf(12));
|
|
|
+ job3.setPayUnit(0);
|
|
|
+ job3.setName("项目经理");
|
|
|
+ job3.setExpType(0);
|
|
|
+ job3.setEduType(0);
|
|
|
+ job3.setTagList(new ArrayList<>());
|
|
|
+ list2.add(job3);
|
|
|
+
|
|
|
+ AppJobSimpleRespVO job4=new AppJobHomeRespVO();
|
|
|
+ job4.setId(2L);
|
|
|
+ job4.setAreaId(440100L);
|
|
|
+ job4.setPositionId(2L);
|
|
|
+ job4.setPayFrom(BigDecimal.valueOf(18));
|
|
|
+ job4.setPayTo(BigDecimal.valueOf(22));
|
|
|
+ job4.setPayUnit(1);
|
|
|
+ job4.setName("车间主任");
|
|
|
+ job4.setExpType(1);
|
|
|
+ job4.setEduType(1);
|
|
|
+ job4.setTagList(new ArrayList<>());
|
|
|
+ list2.add(job4);
|
|
|
+
|
|
|
+ respVO2.setJobList(list2);
|
|
|
+ list.add(respVO2);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ result.setList(list);
|
|
|
+ result.setTotal(2L);
|
|
|
+
|
|
|
+ return result;
|
|
|
+ }
|
|
|
}
|