From dff3187960e2f0e65f70e6b50535abeff57ab410 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Fri, 22 Mar 2024 16:53:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8E=86=E8=AF=86=E5=88=ABBUG?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/ResumeRecognitionServiceImpl.java | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java b/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java index 59fea19..2c6a1a0 100644 --- a/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java +++ b/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java @@ -179,25 +179,29 @@ public class ResumeRecognitionServiceImpl extends Service implements ResumeRecog // 体重(KG) // 身高(CM) // 籍贯 - dataMap.put("jg", parseArray(obj.getJSONArray("籍贯"))); + //dataMap.put("jg", parseArray(obj.getJSONArray("籍贯"))); // 婚姻状况 // 当前所在地 - dataMap.put("jzd", parseArray(obj.getJSONArray("现居住地"))); + //dataMap.put("jzd", parseArray(obj.getJSONArray("现居住地"))); // 政治面貌 // 在职状态 // 工作经验 dataMap.put("gzjy", parseArray(obj.getJSONArray("工作经验"))); // 最高学位 List> zgxw = getBrowserArray(parseArray(obj.getJSONArray("最高学位")), this::getDegreeArray); - dataMap.put("zgxw", zgxw); - if (!isCard && CollectionUtils.isNotEmpty(zgxw)) { - dataMap.put("zgxw", zgxw.stream().map(item -> item.get("id")).collect(Collectors.joining(","))); + if (CollectionUtils.isNotEmpty(zgxw)) { + dataMap.put("zgxw", zgxw); + if (!isCard) { + dataMap.put("zgxw", zgxw.stream().map(item -> item.get("id")).collect(Collectors.joining(","))); + } } // 最高学历 List> zgxl = getBrowserArray(parseArray(obj.getJSONArray("最高学历")), this::getEducationLevelArray); - dataMap.put("zgxl", zgxl); - if (!isCard && CollectionUtils.isNotEmpty(zgxl)) { - dataMap.put("zgxl", zgxl.stream().map(item -> item.get("id")).collect(Collectors.joining(","))); + if (CollectionUtils.isNotEmpty(zgxl)) { + dataMap.put("zgxl", zgxl); + if (!isCard) { + dataMap.put("zgxl", zgxl.stream().map(item -> item.get("id")).collect(Collectors.joining(","))); + } } // 专业