修改用户个人资料识别逻辑

This commit is contained in:
zk
2026-03-26 19:05:31 +08:00
parent 3f8af947f0
commit fcc13d3496
3 changed files with 348 additions and 331 deletions
@@ -45,7 +45,7 @@ public class UserProfileService {
private UserProfileCompetitionMapper competitionMapper;
@Autowired
private org.jiayunet.service.UserSkillTagMatchService userSkillTagMatchService;
private org.jiayunet.service.UserProfileAnalyzeService userProfileAnalyzeService;
// ==================== 主表 ====================
@@ -78,7 +78,7 @@ public class UserProfileService {
profile.setUpdateTime(now);
userProfileMapper.insert(profile);
}
userSkillTagMatchService.matchUserSkillTags(userId);
userProfileAnalyzeService.analyzeUserProfile(userId);
}
// ==================== 教育经历 ====================
@@ -114,7 +114,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
educationMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
userProfileAnalyzeService.analyzeUserProfile(userId);
}
// ==================== 工作经历 ====================
@@ -151,7 +151,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
workMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
userProfileAnalyzeService.analyzeUserProfile(userId);
}
// ==================== 实习经历 ====================
@@ -188,7 +188,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
internshipMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
userProfileAnalyzeService.analyzeUserProfile(userId);
}
// ==================== 项目经历 ====================
@@ -225,7 +225,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
projectMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
userProfileAnalyzeService.analyzeUserProfile(userId);
}
// ==================== 竞赛经历 ====================
@@ -262,7 +262,7 @@ public class UserProfileService {
item.setUpdateTime(now);
});
competitionMapper.batchInsert(list);
userSkillTagMatchService.matchUserSkillTags(userId);
userProfileAnalyzeService.analyzeUserProfile(userId);
}
// ==================== 内部方法 ====================