Commit 36ec8899 by 春觉晓

招聘管理新增技术督导/试岗人员字段

1 parent ef300ae4
...@@ -404,13 +404,20 @@ public class RecruitmentDemandService { ...@@ -404,13 +404,20 @@ public class RecruitmentDemandService {
.andEqualTo("demandId", demandId); .andEqualTo("demandId", demandId);
logExample.orderBy("id").asc(); logExample.orderBy("id").asc();
List<RecruitmentDemandOperationLog> logs = logMapper.selectByExample(logExample); List<RecruitmentDemandOperationLog> logs = logMapper.selectByExample(logExample);
//查询试岗列表
Example trialOnboardingExample = new Example(RecruitmentTrialOnboarding.class);
trialOnboardingExample.createCriteria()
.andEqualTo("deletedFlag", BaseModel.DeletedFlagEnum.N.name())
.andEqualTo("demandId", demandId);
trialOnboardingExample.orderBy("id").desc();
List<RecruitmentTrialOnboarding> trialOnboardings = recruitmentTrialOnboardingMapper.selectByExample(trialOnboardingExample);
RecruitmentDemandDetailDTO detailDTO = BeanUtil.copyProperties(demand, RecruitmentDemandDetailDTO.class); RecruitmentDemandDetailDTO detailDTO = BeanUtil.copyProperties(demand, RecruitmentDemandDetailDTO.class);
detailDTO.setSalesVolume(salesVolume); detailDTO.setSalesVolume(salesVolume);
detailDTO.setResumes(resumes); detailDTO.setResumes(resumes);
detailDTO.setOnboardingPlans(plans); detailDTO.setOnboardingPlans(plans);
detailDTO.setLogs(logs); detailDTO.setLogs(logs);
detailDTO.setTrialOnboardings(trialOnboardings);
// 查询门店信息(地址) // 查询门店信息(地址)
String merchantId = demand.getMerchantId(); String merchantId = demand.getMerchantId();
RpcPagination<ListMerchantRequest> merchantPagination = new RpcPagination<>(); RpcPagination<ListMerchantRequest> merchantPagination = new RpcPagination<>();
...@@ -758,7 +765,7 @@ public class RecruitmentDemandService { ...@@ -758,7 +765,7 @@ public class RecruitmentDemandService {
summary.setAllOfResume(0); summary.setAllOfResume(0);
summary.setProcessedOfResume(0); summary.setProcessedOfResume(0);
summary.setAllOfOnboarding(0); summary.setAllOfOnboarding(0);
summary.setAllOfTrialOnboarding(0);
List<RecruitmentDemandPageRecordDTO> demands = recruitmentDemandMapper.recruitmentDemandWebPage(dto); List<RecruitmentDemandPageRecordDTO> demands = recruitmentDemandMapper.recruitmentDemandWebPage(dto);
if (CollectionUtils.isEmpty(demands)) { if (CollectionUtils.isEmpty(demands)) {
return summary; return summary;
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
--> -->
select demand_id, count(1) as total from recruitment_trial_onboarding select demand_id, count(1) as total from dj_car_life_recruitment_trial_onboarding
where demand_id in where demand_id in
<foreach collection="demandIdList" item="item" open="(" close=")" separator=","> <foreach collection="demandIdList" item="item" open="(" close=")" separator=",">
#{item} #{item}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!