generated from dxfeng/secondev-chapanda-feishu
解决职位状态同步,北极星平台异常问题
This commit is contained in:
parent
c46ed8ca25
commit
3ff9fed98a
|
|
@ -70,6 +70,6 @@ public enum PositionThirdChannelEnum {
|
|||
return item;
|
||||
}
|
||||
}
|
||||
throw new CustomizeRunTimeException("不支持的发布渠道");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -710,7 +710,9 @@ public class RecruitPositionServiceImpl extends Service implements RecruitPositi
|
|||
status = PositionReleaseStatusEnum.UNPUBLISHED.getValue();
|
||||
}
|
||||
PositionThirdChannelEnum positionThirdChannelEnum = PositionThirdChannelEnum.getEnumByPlatformId(key);
|
||||
recordPublishingStatus(billId, positionThirdChannelEnum.getValue(), status, null);
|
||||
if (null != positionThirdChannelEnum) {
|
||||
recordPublishingStatus(billId, positionThirdChannelEnum.getValue(), status, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -431,6 +431,9 @@ public class RecruitPositionUtil {
|
|||
String s = map.get(String.valueOf(integer));
|
||||
if (StringUtils.isBlank(s)) {
|
||||
PositionThirdChannelEnum enumByPlatformId = PositionThirdChannelEnum.getEnumByPlatformId(integer);
|
||||
if (null == enumByPlatformId) {
|
||||
continue;
|
||||
}
|
||||
throw new CustomizeRunTimeException("职位类别字段校验失败,请选择[" + enumByPlatformId.getDesc() + "]对应的职位类别");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue