面试记录
This commit is contained in:
parent
3d0c1a29ed
commit
cdec6945dd
|
@ -6,10 +6,12 @@ import com.yzdx.AiInterviewer.entity.JobEntity;
|
||||||
import com.yzdx.AiInterviewer.entity.dto.JobDto;
|
import com.yzdx.AiInterviewer.entity.dto.JobDto;
|
||||||
import com.yzdx.AiInterviewer.entity.dto.JobPostingDto;
|
import com.yzdx.AiInterviewer.entity.dto.JobPostingDto;
|
||||||
import com.yzdx.AiInterviewer.entity.dto.JobSettingDto;
|
import com.yzdx.AiInterviewer.entity.dto.JobSettingDto;
|
||||||
|
import com.yzdx.AiInterviewer.entity.vxEntity.VxInterviewApplication;
|
||||||
import com.yzdx.AiInterviewer.service.CompanyService;
|
import com.yzdx.AiInterviewer.service.CompanyService;
|
||||||
import com.yzdx.AiInterviewer.service.InterviewSettingService;
|
import com.yzdx.AiInterviewer.service.InterviewSettingService;
|
||||||
import com.yzdx.AiInterviewer.service.JobListService;
|
import com.yzdx.AiInterviewer.service.JobListService;
|
||||||
import com.yzdx.AiInterviewer.service.JobPostingService;
|
import com.yzdx.AiInterviewer.service.JobPostingService;
|
||||||
|
import com.yzdx.AiInterviewer.service.VxService.VxInterviewApplicationService;
|
||||||
import io.swagger.annotations.*;
|
import io.swagger.annotations.*;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
@ -30,6 +32,8 @@ public class RecruitmentController {
|
||||||
private CompanyService companyService;
|
private CompanyService companyService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private JobPostingService jobPostingService;
|
private JobPostingService jobPostingService;
|
||||||
|
@Autowired
|
||||||
|
private VxInterviewApplicationService vxInterviewApplicationService;
|
||||||
|
|
||||||
|
|
||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
|
@ -425,8 +429,11 @@ public class RecruitmentController {
|
||||||
List<JobPostingDto> jobPostingDtos=jobPostingService.getJobPostingList(encoding);
|
List<JobPostingDto> jobPostingDtos=jobPostingService.getJobPostingList(encoding);
|
||||||
|
|
||||||
return R.success(jobPostingDtos);
|
return R.success(jobPostingDtos);
|
||||||
|
}
|
||||||
|
@GetMapping("/getApplicationList")
|
||||||
|
public R getApplicationList(String companyEncoding,Integer jobId){
|
||||||
|
List<VxInterviewApplication> list=vxInterviewApplicationService.getApplicationList(companyEncoding,jobId);
|
||||||
|
return R.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.yzdx.AiInterviewer.service.VxService;
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.yzdx.AiInterviewer.entity.vxEntity.VxInterviewApplication;
|
import com.yzdx.AiInterviewer.entity.vxEntity.VxInterviewApplication;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public interface VxInterviewApplicationService extends IService<VxInterviewApplication> {
|
public interface VxInterviewApplicationService extends IService<VxInterviewApplication> {
|
||||||
/**
|
/**
|
||||||
* vx投递简历
|
* vx投递简历
|
||||||
|
@ -15,6 +17,8 @@ public interface VxInterviewApplicationService extends IService<VxInterviewAppli
|
||||||
|
|
||||||
Integer addInterviewApplication(Integer jobId, Integer userId, Integer postingId, String companyEncoding);
|
Integer addInterviewApplication(Integer jobId, Integer userId, Integer postingId, String companyEncoding);
|
||||||
|
|
||||||
|
List<VxInterviewApplication> getApplicationList(String companyEncoding, Integer jobId);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hr端获取面试申请
|
* Hr端获取面试申请
|
||||||
|
|
|
@ -11,6 +11,8 @@ import com.yzdx.AiInterviewer.utiles.TimeUtil;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
public class VxInterviewApplicationServiceImpl extends ServiceImpl<VxInterviewApplicationMapper, VxInterviewApplication> implements VxInterviewApplicationService {
|
public class VxInterviewApplicationServiceImpl extends ServiceImpl<VxInterviewApplicationMapper, VxInterviewApplication> implements VxInterviewApplicationService {
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -45,4 +47,12 @@ public class VxInterviewApplicationServiceImpl extends ServiceImpl<VxInterviewAp
|
||||||
Integer insert = vxInterviewApplicationMapper.insert(vxInterviewApplication1);
|
Integer insert = vxInterviewApplicationMapper.insert(vxInterviewApplication1);
|
||||||
return insert;
|
return insert;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<VxInterviewApplication> getApplicationList(String companyEncoding, Integer jobId) {
|
||||||
|
LambdaQueryWrapper<VxInterviewApplication> queryWrapper=new LambdaQueryWrapper<>();
|
||||||
|
queryWrapper.eq(VxInterviewApplication::getCompanyEncoding,companyEncoding).eq(VxInterviewApplication::getJobId,jobId);
|
||||||
|
List<VxInterviewApplication> list = vxInterviewApplicationMapper.selectList(queryWrapper);
|
||||||
|
return list;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue