岗位详情不限制有效状态

This commit is contained in:
zk
2026-03-20 21:02:19 +08:00
parent f1d86b821e
commit 32597d6a8b
@@ -208,7 +208,7 @@ public class JobService {
*/
public JobDetailDto getJobDetail(Long jobId, Long userId) {
// 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("岗位不存在或已下架");
// 2. 查询公司