添加用户个人技能标签提取
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
// ==================== 内部方法 ====================
|
||||
|
||||
Reference in New Issue
Block a user