Commit 2edae432 by 谢海旭

202601月中版本 招聘管理:调整处理接口参数长度限制

1 parent 1e936394
...@@ -590,11 +590,11 @@ public class RecruitmentDemandService { ...@@ -590,11 +590,11 @@ public class RecruitmentDemandService {
List<RecruitmentResume> resumesAll = dto.getResumes(); List<RecruitmentResume> resumesAll = dto.getResumes();
List<RecruitmentOnboardingPlan> plansAll = dto.getOnboardingPlans(); List<RecruitmentOnboardingPlan> plansAll = dto.getOnboardingPlans();
List<RecruitmentTrialOnboarding> trialsAll = dto.getTrialOnboardings(); List<RecruitmentTrialOnboarding> trialsAll = dto.getTrialOnboardings();
if (CollectionUtils.isNotEmpty(resumesAll) && resumesAll.size() > 100 if (CollectionUtils.isNotEmpty(resumesAll) && resumesAll.size() > 98
|| CollectionUtils.isNotEmpty(plansAll) && plansAll.size() > 30 || CollectionUtils.isNotEmpty(plansAll) && plansAll.size() > 20
|| CollectionUtils.isNotEmpty(trialsAll) && trialsAll.size() > 30) { || CollectionUtils.isNotEmpty(trialsAll) && trialsAll.size() > 20) {
log.error("简历数量限定100以内、入职数量限定30以内、试岗人数限定30以内"); log.error("简历数量限定98以内、入职数量限定20以内、试岗人数限定20以内");
throw new RpcServiceException(RpcErrorEnum.BUSINESS_ERROR, "简历数量限定100以内、入职数量限定30以内、试岗人数限定30以内"); throw new RpcServiceException(RpcErrorEnum.BUSINESS_ERROR, "简历数量限定98以内、入职数量限定20以内、试岗人数限定20以内");
} }
recruitmentResumeService.processResumes(dto, processResult); recruitmentResumeService.processResumes(dto, processResult);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!