Commit f92e26f8 by 谢海旭

招聘管理

1 parent 6c4917a2
...@@ -18,7 +18,7 @@ public class KafkaTopicConfig { ...@@ -18,7 +18,7 @@ public class KafkaTopicConfig {
private String trialOnboardingApproved; private String trialOnboardingApproved;
/** /**
* 试岗处理(不通过)后禁用账户中心账号 topic * 试岗处理 topic
*/ */
@Value("${kafka.topic.trial-onboarding-processed:TRIAL_ONBOARDING_PROCESSED}") @Value("${kafka.topic.trial-onboarding-processed:TRIAL_ONBOARDING_PROCESSED}")
private String trialOnboardingProcessed; private String trialOnboardingProcessed;
......
...@@ -2376,8 +2376,8 @@ public class RecruitmentDemandService { ...@@ -2376,8 +2376,8 @@ public class RecruitmentDemandService {
List<String> sceneCodes = new ArrayList<>(); List<String> sceneCodes = new ArrayList<>();
for (int i = 0; i < sceneArray.size(); i++) { for (int i = 0; i < sceneArray.size(); i++) {
JSONObject obj = sceneArray.getJSONObject(i); JSONObject obj = sceneArray.getJSONObject(i);
if (obj != null && StringUtils.isNotBlank(obj.getString("bizSceneCode"))) { if (obj != null && StringUtils.isNotBlank(obj.getString("sceneCode"))) {
sceneCodes.add(obj.getString("bizSceneCode")); sceneCodes.add(obj.getString("sceneCode"));
} }
} }
if (CollectionUtils.isEmpty(sceneCodes)) { if (CollectionUtils.isEmpty(sceneCodes)) {
...@@ -2769,7 +2769,7 @@ public class RecruitmentDemandService { ...@@ -2769,7 +2769,7 @@ public class RecruitmentDemandService {
return; return;
} }
// 业务类型过滤 TODO 通知线上运营是否也有业务类型过滤 // 业务类型过滤
if (!RecruitmentDemandBusinessTypeEnum.needsRegionOperationMessage(demand.getBusinessType())) { if (!RecruitmentDemandBusinessTypeEnum.needsRegionOperationMessage(demand.getBusinessType())) {
log.info("试岗处理通知线上运营 - 业务类型不在推送范围内,demandId:{}, businessType:{}", demand.getId(), demand.getBusinessType()); log.info("试岗处理通知线上运营 - 业务类型不在推送范围内,demandId:{}, businessType:{}", demand.getId(), demand.getBusinessType());
return; return;
...@@ -2785,8 +2785,8 @@ public class RecruitmentDemandService { ...@@ -2785,8 +2785,8 @@ public class RecruitmentDemandService {
List<String> sceneCodes = new ArrayList<>(); List<String> sceneCodes = new ArrayList<>();
for (int i = 0; i < sceneArray.size(); i++) { for (int i = 0; i < sceneArray.size(); i++) {
JSONObject obj = sceneArray.getJSONObject(i); JSONObject obj = sceneArray.getJSONObject(i);
if (obj != null && StringUtils.isNotBlank(obj.getString("bizSceneCode"))) { if (obj != null && StringUtils.isNotBlank(obj.getString("sceneCode"))) {
sceneCodes.add(obj.getString("bizSceneCode")); sceneCodes.add(obj.getString("sceneCode"));
} }
} }
if (CollectionUtils.isEmpty(sceneCodes)) { if (CollectionUtils.isEmpty(sceneCodes)) {
...@@ -2990,8 +2990,8 @@ public class RecruitmentDemandService { ...@@ -2990,8 +2990,8 @@ public class RecruitmentDemandService {
List<String> sceneCodes = new ArrayList<>(); List<String> sceneCodes = new ArrayList<>();
for (int i = 0; i < sceneArray.size(); i++) { for (int i = 0; i < sceneArray.size(); i++) {
JSONObject obj = sceneArray.getJSONObject(i); JSONObject obj = sceneArray.getJSONObject(i);
if (obj != null && StringUtils.isNotBlank(obj.getString("bizSceneCode"))) { if (obj != null && StringUtils.isNotBlank(obj.getString("sceneCode"))) {
sceneCodes.add(obj.getString("bizSceneCode")); sceneCodes.add(obj.getString("sceneCode"));
} }
} }
if (CollectionUtils.isEmpty(sceneCodes)) { if (CollectionUtils.isEmpty(sceneCodes)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!