更新
This commit is contained in:
zhouwentao 2024-04-29 15:59:57 +08:00
parent 24112cc459
commit 53d363bf39
1 changed files with 8 additions and 8 deletions

View File

@ -130,14 +130,14 @@ public class YxCalculationMajorServiceImpl extends ServiceImpl<YxCalculationMajo
pageSize = 5;
}
//获取当前分数
YxUserScore activeCurrentUserScore = null;
if (StringUtils.isNotBlank(queryRecommendMajorVO.getScoreId())) {
//是根据成绩单来的
activeCurrentUserScore = yxUserScoreService.findById(queryRecommendMajorVO.getScoreId());
} else {
//直接获取当前使用中的成绩单
activeCurrentUserScore = yxUserScoreService.getActiveCurrentUserScore();
}
YxUserScore activeCurrentUserScore = yxUserScoreService.getActiveCurrentUserScore();;
// if (StringUtils.isNotBlank(queryRecommendMajorVO.getScoreId())) {
// //是根据成绩单来的
// activeCurrentUserScore = yxUserScoreService.findById(queryRecommendMajorVO.getScoreId());
// } else {
// //直接获取当前使用中的成绩单
// activeCurrentUserScore = yxUserScoreService.getActiveCurrentUserScore();
// }
queryRecommendMajorVO.setScoreId(activeCurrentUserScore.getId());
//文理分科
queryRecommendMajorVO.setCognitioPolyclinic(activeCurrentUserScore.getCognitioPolyclinic());