Commit a3f068ed by 谢海旭

202601月中版本 招聘管理:推送增加业务类型判断

1 parent f20f8507
...@@ -125,15 +125,17 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{ ...@@ -125,15 +125,17 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{
if (processResult.isHasNewResume()) { if (processResult.isHasNewResume()) {
Integer id = dto.getId(); Integer id = dto.getId();
RecruitmentDemand currentDemand = recruitmentDemandService.getRecruitmentDemand(id); RecruitmentDemand currentDemand = recruitmentDemandService.getRecruitmentDemand(id);
if (RecruitmentDemandBusinessTypeEnum.needsRegionOperationMessage(currentDemand.getBusinessType())) {
// 推送区域运营(延保、权益、轻改、权益+延保) // 推送区域运营(延保、权益、轻改、权益+延保)
recruitmentDemandService.sendRegionOperationQWMessage( recruitmentDemandService.sendRegionOperationQWMessage(
dto.getId(), dto.getId(),
"招聘进度提醒", "招聘进度提醒",
"您的招聘需求有新的简历投递,请点击查看处理。", "您的招聘需求有新的简历投递,请点击查看处理。",
"新增简历推送区域运营" "新增简历推送区域运营"
); );
}
// 推送技术督导(窗膜技师、三膜技师、车衣技师、精品技师) // 推送技术督导(窗膜技师、三膜技师、车衣技师、精品技师)
if (RecruitmentDemandBusinessTypeEnum.needsTechnicalSupervisorMessage(currentDemand.getBusinessType())) { if (RecruitmentDemandBusinessTypeEnum.needsTechnicalSupervisorMessage(currentDemand.getBusinessType())) {
recruitmentDemandService.sendTechnicalSupervisorQWMessage( recruitmentDemandService.sendTechnicalSupervisorQWMessage(
......
...@@ -858,6 +858,12 @@ public class RecruitmentDemandService { ...@@ -858,6 +858,12 @@ public class RecruitmentDemandService {
public void sendRegionOperationQWMessage(Integer demandId, String title, String description, String logDesc) { public void sendRegionOperationQWMessage(Integer demandId, String title, String description, String logDesc) {
try { try {
RecruitmentDemand demand = recruitmentDemandMapper.selectByPrimaryKey(demandId); RecruitmentDemand demand = recruitmentDemandMapper.selectByPrimaryKey(demandId);
if (!RecruitmentDemandBusinessTypeEnum.needsRegionOperationMessage(demand.getBusinessType())) {
log.info("{} - 业务类型不在推送范围内,demandId:{}, businessType:{}",
logDesc, demandId, demand.getBusinessType());
return;
}
String staffUUID = demand.getRegionOperationId(); String staffUUID = demand.getRegionOperationId();
log.info("门店区域运营经理:{} 手机号查询参数:{}", demand.getRegionOperationName(), staffUUID); log.info("门店区域运营经理:{} 手机号查询参数:{}", demand.getRegionOperationName(), staffUUID);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!