添加用户个人技能标签提取

This commit is contained in:
zk
2026-03-20 11:34:12 +08:00
parent dc2e241151
commit 971694d648
7 changed files with 466 additions and 6 deletions
@@ -44,6 +44,9 @@ public class UserProfileService {
@Autowired
private UserProfileCompetitionMapper competitionMapper;
@Autowired
private org.jiayunet.service.UserSkillTagMatchService userSkillTagMatchService;
// ==================== 主表 ====================
/** 查询当前用户个人资料 */
@@ -75,6 +78,7 @@ public class UserProfileService {
profile.setUpdateTime(now);
userProfileMapper.insert(profile);
}
userSkillTagMatchService.matchUserSkillTags(userId);
}
// ==================== 教育经历 ====================
@@ -110,6 +114,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
educationMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
}
// ==================== 工作经历 ====================
@@ -146,6 +151,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
workMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
}
// ==================== 实习经历 ====================
@@ -182,6 +188,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
internshipMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
}
// ==================== 项目经历 ====================
@@ -218,6 +225,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
projectMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
}
// ==================== 竞赛经历 ====================
@@ -254,6 +262,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
competitionMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
}
// ==================== 内部方法 ====================