移动端岗位发布-添加岗位联系人
This commit is contained in:
@@ -15,4 +15,6 @@ import java.util.List;
|
||||
public interface JobContactMapper extends BaseMapper<JobContact> {
|
||||
|
||||
List<JobContact> getSelectList(JobContact jobContact);
|
||||
|
||||
int batchInsert(List<JobContact> list);
|
||||
}
|
||||
|
@@ -795,6 +795,12 @@ public class JobServiceImpl extends ServiceImpl<JobMapper,Job> implements IJobSe
|
||||
// }
|
||||
// job.setCompanyId(company.getCompanyId());
|
||||
jobMapper.insert(job);
|
||||
if(job.getJobContactList()!=null){
|
||||
job.getJobContactList().forEach(it->{
|
||||
it.setJobId(job.getJobId());
|
||||
});
|
||||
jobContactMapper.batchInsert(job.getJobContactList());
|
||||
}
|
||||
iesJobSearchService.updateJob(job.getJobId());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user