岗位-详情查询联系人
This commit is contained in:
@@ -198,6 +198,13 @@ public class JobServiceImpl extends ServiceImpl<JobMapper,Job> implements IJobSe
|
|||||||
Company company = companyMapper.selectById(job.getCompanyId());
|
Company company = companyMapper.selectById(job.getCompanyId());
|
||||||
job.setCompany(company);
|
job.setCompany(company);
|
||||||
}
|
}
|
||||||
|
//查询联系人
|
||||||
|
JobContact contact=new JobContact();
|
||||||
|
contact.setJobId(job.getJobId());
|
||||||
|
List<JobContact> contacts=jobContactMapper.getSelectList(contact);
|
||||||
|
if(contacts!=null){
|
||||||
|
job.setJobContactList(contacts);
|
||||||
|
}
|
||||||
return job;
|
return job;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user