岗位详情不限制有效状态
This commit is contained in:
@@ -208,7 +208,7 @@ public class JobService {
|
|||||||
*/
|
*/
|
||||||
public JobDetailDto getJobDetail(Long jobId, Long userId) {
|
public JobDetailDto getJobDetail(Long jobId, Long userId) {
|
||||||
// 1. 查询岗位
|
// 1. 查询岗位
|
||||||
Job job = jobMapper.selectOne(new LambdaQueryWrapper<Job>().eq(Job::getId, jobId).eq(Job::getStatus, 0));
|
Job job = jobMapper.selectOne(new LambdaQueryWrapper<Job>().eq(Job::getId, jobId));
|
||||||
if (job == null) throw new RuntimeException("岗位不存在或已下架");
|
if (job == null) throw new RuntimeException("岗位不存在或已下架");
|
||||||
|
|
||||||
// 2. 查询公司
|
// 2. 查询公司
|
||||||
|
|||||||
Reference in New Issue
Block a user