简历识别BUG修复

This commit is contained in:
dxfeng 2024-03-22 16:53:30 +08:00
parent b40c1d4cd8
commit dff3187960
1 changed files with 12 additions and 8 deletions

View File

@ -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<Map<String, String>> 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<Map<String, String>> 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(",")));
}
}
// 专业