面试记录
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.JobPostingDto;
|
||||
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.InterviewSettingService;
|
||||
import com.yzdx.AiInterviewer.service.JobListService;
|
||||
import com.yzdx.AiInterviewer.service.JobPostingService;
|
||||
import com.yzdx.AiInterviewer.service.VxService.VxInterviewApplicationService;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
@ -30,6 +32,8 @@ public class RecruitmentController {
|
|||
private CompanyService companyService;
|
||||
@Autowired
|
||||
private JobPostingService jobPostingService;
|
||||
@Autowired
|
||||
private VxInterviewApplicationService vxInterviewApplicationService;
|
||||
|
||||
|
||||
@ApiImplicitParams({
|
||||
|
@ -425,8 +429,11 @@ public class RecruitmentController {
|
|||
List<JobPostingDto> jobPostingDtos=jobPostingService.getJobPostingList(encoding);
|
||||
|
||||
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.yzdx.AiInterviewer.entity.vxEntity.VxInterviewApplication;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface VxInterviewApplicationService extends IService<VxInterviewApplication> {
|
||||
/**
|
||||
* vx投递简历
|
||||
|
@ -15,6 +17,8 @@ public interface VxInterviewApplicationService extends IService<VxInterviewAppli
|
|||
|
||||
Integer addInterviewApplication(Integer jobId, Integer userId, Integer postingId, String companyEncoding);
|
||||
|
||||
List<VxInterviewApplication> getApplicationList(String companyEncoding, Integer jobId);
|
||||
|
||||
|
||||
/**
|
||||
* Hr端获取面试申请
|
||||
|
|
|
@ -11,6 +11,8 @@ import com.yzdx.AiInterviewer.utiles.TimeUtil;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class VxInterviewApplicationServiceImpl extends ServiceImpl<VxInterviewApplicationMapper, VxInterviewApplication> implements VxInterviewApplicationService {
|
||||
@Autowired
|
||||
|
@ -45,4 +47,12 @@ public class VxInterviewApplicationServiceImpl extends ServiceImpl<VxInterviewAp
|
|||
Integer insert = vxInterviewApplicationMapper.insert(vxInterviewApplication1);
|
||||
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