|
@@ -1,26 +1,29 @@
|
|
|
package com.citu.module.menduner.system.service.job;
|
|
|
|
|
|
|
|
|
+import cn.hutool.core.collection.ListUtil;
|
|
|
import com.citu.framework.common.pojo.PageParam;
|
|
|
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.contact.AppEnterpriseUserContactRespVO;
|
|
|
+import com.citu.module.menduner.system.controller.app.enterprise.vo.AppEnterpriseSimpleRespVO;
|
|
|
import com.citu.module.menduner.system.controller.app.job.vo.AppEnterpriseJobHomeRespVO;
|
|
|
+import com.citu.module.menduner.system.controller.app.job.vo.AppJobAdvertisedDetailRespVO;
|
|
|
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 com.citu.module.menduner.system.enums.MendunerStatusEnum;
|
|
|
import com.citu.module.menduner.system.service.visits.MdeVisitsService;
|
|
|
-import org.apache.poi.hpsf.Decimal;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
-
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.time.LocalDateTime;
|
|
|
import java.util.ArrayList;
|
|
|
-import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
|
|
|
import static com.citu.framework.common.exception.util.ServiceExceptionUtil.exception;
|
|
@@ -85,10 +88,10 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
}
|
|
|
|
|
|
public PageResult<AppJobHomeRespVO> generate() {
|
|
|
- PageResult<AppJobHomeRespVO> result=new PageResult<>();
|
|
|
- List<AppJobHomeRespVO> list=new ArrayList<>();
|
|
|
+ PageResult<AppJobHomeRespVO> result = new PageResult<>();
|
|
|
+ List<AppJobHomeRespVO> list = new ArrayList<>();
|
|
|
|
|
|
- AppJobHomeRespVO respVO1 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO1 = new AppJobHomeRespVO();
|
|
|
respVO1.setId(1L);
|
|
|
respVO1.setAreaId(110000L);
|
|
|
respVO1.setPositionId(1L);
|
|
@@ -106,7 +109,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO1.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
list.add(respVO1);
|
|
|
|
|
|
- AppJobHomeRespVO respVO2 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO2 = new AppJobHomeRespVO();
|
|
|
respVO2.setId(2L);
|
|
|
respVO2.setAreaId(440100L);
|
|
|
respVO2.setPositionId(2L);
|
|
@@ -125,7 +128,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
list.add(respVO2);
|
|
|
|
|
|
|
|
|
- AppJobHomeRespVO respVO3 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO3 = new AppJobHomeRespVO();
|
|
|
respVO3.setId(3L);
|
|
|
respVO3.setAreaId(440300L);
|
|
|
respVO3.setPositionId(3L);
|
|
@@ -143,7 +146,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO3.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
list.add(respVO3);
|
|
|
|
|
|
- AppJobHomeRespVO respVO4 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO4 = new AppJobHomeRespVO();
|
|
|
respVO4.setId(4L);
|
|
|
respVO4.setAreaId(440600L);
|
|
|
respVO4.setPositionId(4L);
|
|
@@ -161,7 +164,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO4.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
list.add(respVO4);
|
|
|
|
|
|
- AppJobHomeRespVO respVO5 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO5 = new AppJobHomeRespVO();
|
|
|
respVO5.setId(5L);
|
|
|
respVO5.setAreaId(441200L);
|
|
|
respVO5.setPositionId(5L);
|
|
@@ -171,7 +174,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO5.setName("保姆");
|
|
|
respVO5.setExpType(4);
|
|
|
respVO5.setEduType(4);
|
|
|
- respVO5.setTagList(new ArrayList<>());
|
|
|
+ respVO5.setTagList(ListUtil.of("年终奖", "不需要出国工作", "医药设备"));
|
|
|
respVO5.setEnterpriseId(1L);
|
|
|
respVO5.setAnotherName("门墩儿科技");
|
|
|
respVO5.setIndustryId(5L);
|
|
@@ -179,7 +182,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO5.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
list.add(respVO5);
|
|
|
|
|
|
- AppJobHomeRespVO respVO6 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO6 = new AppJobHomeRespVO();
|
|
|
respVO6.setId(6L);
|
|
|
respVO6.setAreaId(440800L);
|
|
|
respVO6.setPositionId(6L);
|
|
@@ -189,7 +192,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO6.setName("软件开发工程师");
|
|
|
respVO6.setExpType(5);
|
|
|
respVO6.setEduType(5);
|
|
|
- respVO6.setTagList(new ArrayList<>());
|
|
|
+ respVO6.setTagList(ListUtil.of("无经验要求", "金融产品", "不限", "不接受居家办公", "教育培训", "互联网金融"));
|
|
|
respVO6.setEnterpriseId(1L);
|
|
|
respVO6.setAnotherName("门墩儿科技");
|
|
|
respVO6.setIndustryId(6L);
|
|
@@ -198,7 +201,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
list.add(respVO6);
|
|
|
|
|
|
|
|
|
- AppJobHomeRespVO respVO7 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO7 = new AppJobHomeRespVO();
|
|
|
respVO7.setId(7L);
|
|
|
respVO7.setAreaId(441900L);
|
|
|
respVO7.setPositionId(7L);
|
|
@@ -217,7 +220,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
list.add(respVO7);
|
|
|
|
|
|
|
|
|
- AppJobHomeRespVO respVO8 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO8 = new AppJobHomeRespVO();
|
|
|
respVO8.setId(8L);
|
|
|
respVO8.setAreaId(441700L);
|
|
|
respVO8.setPositionId(8L);
|
|
@@ -235,7 +238,7 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
respVO8.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
list.add(respVO8);
|
|
|
|
|
|
- AppJobHomeRespVO respVO9 =new AppJobHomeRespVO();
|
|
|
+ AppJobHomeRespVO respVO9 = new AppJobHomeRespVO();
|
|
|
respVO9.setId(9L);
|
|
|
respVO9.setAreaId(445300L);
|
|
|
respVO9.setPositionId(9L);
|
|
@@ -276,17 +279,18 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
|
|
|
@Override
|
|
|
public PageResult<AppEnterpriseJobHomeRespVO> getHotEnterpriseJobPage(PageParam pageParam) {
|
|
|
- PageResult<AppEnterpriseJobHomeRespVO> result=new PageResult<>();
|
|
|
- List<AppEnterpriseJobHomeRespVO> list=new ArrayList<>();
|
|
|
+ PageResult<AppEnterpriseJobHomeRespVO> result = new PageResult<>();
|
|
|
+ List<AppEnterpriseJobHomeRespVO> list = new ArrayList<>();
|
|
|
|
|
|
- AppEnterpriseJobHomeRespVO respVO1 =new AppEnterpriseJobHomeRespVO();
|
|
|
- respVO1.setEnterpriseId(1L);
|
|
|
+ AppEnterpriseJobHomeRespVO respVO1 = new AppEnterpriseJobHomeRespVO();
|
|
|
+ respVO1.setId(1L);
|
|
|
respVO1.setAnotherName("门墩儿科技");
|
|
|
respVO1.setIndustryId(1L);
|
|
|
respVO1.setScale(0);
|
|
|
+ respVO1.setFinancingStatus(0);
|
|
|
respVO1.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
- List<AppJobSimpleRespVO> list1 =new ArrayList<>();
|
|
|
- AppJobSimpleRespVO job1=new AppJobHomeRespVO();
|
|
|
+ List<AppJobSimpleRespVO> list1 = new ArrayList<>();
|
|
|
+ AppJobSimpleRespVO job1 = new AppJobHomeRespVO();
|
|
|
job1.setId(1L);
|
|
|
job1.setAreaId(110000L);
|
|
|
job1.setPositionId(1L);
|
|
@@ -296,10 +300,10 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
job1.setName("项目经理");
|
|
|
job1.setExpType(0);
|
|
|
job1.setEduType(0);
|
|
|
- job1.setTagList(new ArrayList<>());
|
|
|
+ job1.setTagList(ListUtil.of("无经验要求", "金融产品", "不限", "不接受居家办公", "教育培训", "互联网金融"));
|
|
|
list1.add(job1);
|
|
|
|
|
|
- AppJobSimpleRespVO job2=new AppJobHomeRespVO();
|
|
|
+ AppJobSimpleRespVO job2 = new AppJobHomeRespVO();
|
|
|
job2.setId(2L);
|
|
|
job2.setAreaId(440100L);
|
|
|
job2.setPositionId(2L);
|
|
@@ -309,57 +313,134 @@ public class JobAdvertisedServiceImpl implements JobAdvertisedService {
|
|
|
job2.setName("车间主任");
|
|
|
job2.setExpType(1);
|
|
|
job2.setEduType(1);
|
|
|
- job2.setTagList(new ArrayList<>());
|
|
|
+ job2.setTagList(ListUtil.of("无经验要求", "金融产品", "不限", "不接受居家办公", "教育培训", "互联网金融"));
|
|
|
list1.add(job1);
|
|
|
|
|
|
+ AppJobSimpleRespVO job3 = new AppJobHomeRespVO();
|
|
|
+ job3.setId(8L);
|
|
|
+ job3.setAreaId(441700L);
|
|
|
+ job3.setPositionId(8L);
|
|
|
+ job3.setPayFrom(BigDecimal.valueOf(1.2));
|
|
|
+ job3.setPayTo(BigDecimal.valueOf(3.8));
|
|
|
+ job3.setPayUnit(0);
|
|
|
+ job3.setName("程序员");
|
|
|
+ job3.setExpType(7);
|
|
|
+ job3.setEduType(99);
|
|
|
+ job3.setTagList(new ArrayList<>());
|
|
|
+ list1.add(job3);
|
|
|
+
|
|
|
respVO1.setJobList(list1);
|
|
|
list.add(respVO1);
|
|
|
|
|
|
|
|
|
-
|
|
|
- AppEnterpriseJobHomeRespVO respVO2 =new AppEnterpriseJobHomeRespVO();
|
|
|
- respVO2.setEnterpriseId(33L);
|
|
|
+ AppEnterpriseJobHomeRespVO respVO2 = new AppEnterpriseJobHomeRespVO();
|
|
|
+ respVO2.setId(33L);
|
|
|
respVO2.setAnotherName("XX科技");
|
|
|
respVO2.setIndustryId(33L);
|
|
|
respVO2.setScale(0);
|
|
|
+ respVO2.setFinancingStatus(6);
|
|
|
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);
|
|
|
+ List<AppJobSimpleRespVO> list2 = new ArrayList<>();
|
|
|
+ AppJobSimpleRespVO job4 = new AppJobHomeRespVO();
|
|
|
+ job4.setId(1L);
|
|
|
+ job4.setAreaId(110000L);
|
|
|
+ job4.setPositionId(1L);
|
|
|
+ job4.setPayFrom(BigDecimal.valueOf(5));
|
|
|
+ job4.setPayTo(BigDecimal.valueOf(12));
|
|
|
+ job4.setPayUnit(0);
|
|
|
+ job4.setName("项目经理");
|
|
|
+ job4.setExpType(0);
|
|
|
+ job4.setEduType(0);
|
|
|
job4.setTagList(new ArrayList<>());
|
|
|
list2.add(job4);
|
|
|
|
|
|
+ AppJobSimpleRespVO job5 = new AppJobHomeRespVO();
|
|
|
+ job5.setId(2L);
|
|
|
+ job5.setAreaId(440100L);
|
|
|
+ job5.setPositionId(2L);
|
|
|
+ job5.setPayFrom(BigDecimal.valueOf(18));
|
|
|
+ job5.setPayTo(BigDecimal.valueOf(22));
|
|
|
+ job5.setPayUnit(1);
|
|
|
+ job5.setName("车间主任");
|
|
|
+ job5.setExpType(1);
|
|
|
+ job5.setEduType(1);
|
|
|
+ job5.setTagList(new ArrayList<>());
|
|
|
+ list2.add(job5);
|
|
|
+
|
|
|
respVO2.setJobList(list2);
|
|
|
list.add(respVO2);
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
result.setList(list);
|
|
|
result.setTotal(2L);
|
|
|
|
|
|
return result;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public AppJobAdvertisedDetailRespVO getJobAdvertisedDetail(Long id) {
|
|
|
+
|
|
|
+ AppJobAdvertisedDetailRespVO respVO = new AppJobAdvertisedDetailRespVO();
|
|
|
+ respVO.setId(id);
|
|
|
+ respVO.setUserId(1L);
|
|
|
+ respVO.setEnterpriseId(1L);
|
|
|
+ respVO.setAreaId(110000L);
|
|
|
+ respVO.setPositionId(1L);
|
|
|
+ respVO.setPayFrom(BigDecimal.valueOf(5));
|
|
|
+ respVO.setPayTo(BigDecimal.valueOf(12));
|
|
|
+ respVO.setPayUnit(0);
|
|
|
+ respVO.setName("项目经理");
|
|
|
+ respVO.setExpType(0);
|
|
|
+ respVO.setEduType(0);
|
|
|
+ respVO.setTagList(ListUtil.of("无经验要求", "金融产品", "不限", "不接受居家办公", "教育培训", "互联网金融"));
|
|
|
+
|
|
|
+ String content = "参与微信搜一搜公众号搜索、小程序搜索、视频号搜索、官方区(比如搜北大)、服务搜索(比如搜洗车、身份证、违章查询)、富展现Box(比如搜宝马320、桂林天气)等业务的算法研发。\n" +
|
|
|
+ "可能参与的工作方向:\n" +
|
|
|
+ "1. 检索召回方向:包括Query理解、非必留、query改写、基础相关性、服务链接爬取、服务可用性计算等\n" +
|
|
|
+ "2. query意图识别方向:服务知识图谱、Query成份解析、服务相关性、自动意图识别、相似Query扩散、预训练语言模型等。\n" +
|
|
|
+ "3. 搜索排序方向:机构知识图谱、寻址相关性、搜索排序、点击率预估、转化率预估等。\n";
|
|
|
+ respVO.setContent(content);
|
|
|
+
|
|
|
+ String requirement = "计算机、机器学习和数学等相关专业,硕士及以上学历;\n" +
|
|
|
+ "对数据有理解意识、有洞察力;\n" +
|
|
|
+ "针对具体业务问题建模能力强;\n" +
|
|
|
+ "极强的手速、研发能力强;\n" +
|
|
|
+ "如果具有扎实的机器学习、深度学习和自然语言处理方向的理论和实践基, 会是加分项;\n" +
|
|
|
+ "如果熟练掌握一种深度学习和深度学习框架(如 Tensorflow/PyTorch/Caffe 等),会是加分项。";
|
|
|
+ respVO.setRequirement(requirement);
|
|
|
+
|
|
|
+ respVO.setAddress("广州海珠区广州T.I.T创意园B5栋");
|
|
|
+
|
|
|
+ respVO.setLongitude("113.32531");
|
|
|
+ respVO.setLatitude("23.099613");
|
|
|
+
|
|
|
+ respVO.setStatus(MendunerStatusEnum.ENABLE.getStatus());
|
|
|
+
|
|
|
+ respVO.setCreateTime(LocalDateTime.now());
|
|
|
+ respVO.setUpdateTime(LocalDateTime.now());
|
|
|
+
|
|
|
+ AppEnterpriseSimpleRespVO enterpriseSimpleRespVO = new AppEnterpriseSimpleRespVO();
|
|
|
+ enterpriseSimpleRespVO.setId(1L);
|
|
|
+ enterpriseSimpleRespVO.setName("广州门墩儿科技有限公司");
|
|
|
+ enterpriseSimpleRespVO.setAnotherName("门墩儿科技");
|
|
|
+ enterpriseSimpleRespVO.setIndustryId(1L);
|
|
|
+ enterpriseSimpleRespVO.setScale(0);
|
|
|
+ enterpriseSimpleRespVO.setFinancingStatus(0);
|
|
|
+ enterpriseSimpleRespVO.setLogo_url("https://www.menduner.com/static/img/loginlogo2.7924c12.png");
|
|
|
+
|
|
|
+ respVO.setEnterprise(enterpriseSimpleRespVO);
|
|
|
+
|
|
|
+ AppEnterpriseUserContactRespVO contactRespVO = new AppEnterpriseUserContactRespVO();
|
|
|
+ contactRespVO.setAvatar("https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F5bbef4cc-6268-46d9-87b3-3aa7d2168aad%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1718339519&t=6ff0d47abd90d209ca81b671e898deb8");
|
|
|
+ contactRespVO.setUserId(1L);
|
|
|
+ contactRespVO.setEnterpriseId(1L);
|
|
|
+ contactRespVO.setPostCode("HR");
|
|
|
+ contactRespVO.setPostNameCn("人事经理");
|
|
|
+ contactRespVO.setPostNameEn("uman resources");
|
|
|
+ contactRespVO.setName("肖女士");
|
|
|
+
|
|
|
+ respVO.setContact(contactRespVO);
|
|
|
+
|
|
|
+ return respVO;
|
|
|
+ }
|
|
|
}
|