Compare commits

..

2 Commits

Author SHA1 Message Date
chenyanchang
2114eada1d Merge branch 'main' of http://124.243.245.42:3000/zkr/shz-backend into main 2026-06-26 15:32:44 +08:00
chenyanchang
a0d5cc0637 update 2026-06-26 15:32:34 +08:00
3 changed files with 6 additions and 3 deletions

View File

@@ -49,7 +49,6 @@ public class CompanyJobLive extends BaseEntity
@ApiModelProperty("结束时间")
private String endTime;
@ApiModelProperty("公司ID")
private Long companyId;

View File

@@ -64,6 +64,6 @@ public class CompanyJobLiveServiceImpl implements ICompanyJobLiveService {
LoginUser logUser = SecurityUtils.getLoginUser();
SysUser sysUser = logUser.getUser();
Company company = companyService.queryCodeCompany(sysUser.getIdCard());
return company.getCompanyId();
return company != null ? company.getCompanyId() : null;
}
}

View File

@@ -153,7 +153,11 @@ public class JobApplyServiceImpl extends ServiceImpl<JobApplyMapper,JobApply> im
@Override
public List<Job> selectJobApplyListJob(JobApply jobApply) {
return jobApplyMapper.selectJobApplyListJob(jobApply);
List<Job> jobList = jobApplyMapper.selectJobApplyListJob(jobApply);
jobList.forEach(job -> {
job.setIsApply(1);
});
return jobList;
}
@Override