updates
This commit is contained in:
parent
705e17684a
commit
7a21d94bf0
|
|
@ -68,8 +68,6 @@ public class MiniTestCulturalService {
|
||||||
yxSchoolMajorLambdaQueryWrapper.eq(YxSchoolMajor::getMajorType, userScore.getProfessionalCategory());
|
yxSchoolMajorLambdaQueryWrapper.eq(YxSchoolMajor::getMajorType, userScore.getProfessionalCategory());
|
||||||
yxSchoolMajorLambdaQueryWrapper.eq(YxSchoolMajor::getCategory,cognitioPolyclinic);
|
yxSchoolMajorLambdaQueryWrapper.eq(YxSchoolMajor::getCategory,cognitioPolyclinic);
|
||||||
|
|
||||||
yxHistoryScoreControlLineLambdaQueryWrapper.eq(YxHistoryScoreControlLine::getProfessionalCategory, userScore.getProfessionalCategory());
|
|
||||||
yxHistoryScoreControlLineLambdaQueryWrapper.eq(YxHistoryScoreControlLine::getCategory,cognitioPolyclinic);
|
|
||||||
String a_ = "_";
|
String a_ = "_";
|
||||||
yxSchoolMajorLambdaQueryWrapper.eq(YxSchoolMajor::getSchoolCode, schoolCode);
|
yxSchoolMajorLambdaQueryWrapper.eq(YxSchoolMajor::getSchoolCode, schoolCode);
|
||||||
List<YxSchoolMajor> yxSchoolMajorList = yxSchoolMajorService.list(yxSchoolMajorLambdaQueryWrapper);
|
List<YxSchoolMajor> yxSchoolMajorList = yxSchoolMajorService.list(yxSchoolMajorLambdaQueryWrapper);
|
||||||
|
|
@ -95,6 +93,14 @@ public class MiniTestCulturalService {
|
||||||
historyMajorEnrollMap.put(h.getYear() + a_ + h.getCategory() + a_ + h.getMajorName() + a_ + h.getBatch(), h);
|
historyMajorEnrollMap.put(h.getYear() + a_ + h.getCategory() + a_ + h.getMajorName() + a_ + h.getBatch(), h);
|
||||||
}
|
}
|
||||||
//获取 省控线
|
//获取 省控线
|
||||||
|
if ("舞蹈类".equals(userScore.getProfessionalCategory())) {
|
||||||
|
yxHistoryScoreControlLineLambdaQueryWrapper.like(YxHistoryScoreControlLine::getProfessionalCategory, "舞");
|
||||||
|
yxHistoryScoreControlLineLambdaQueryWrapper.eq(YxHistoryScoreControlLine::getCategory,cognitioPolyclinic);
|
||||||
|
}else{
|
||||||
|
yxHistoryScoreControlLineLambdaQueryWrapper.eq(YxHistoryScoreControlLine::getProfessionalCategory, userScore.getProfessionalCategory());
|
||||||
|
yxHistoryScoreControlLineLambdaQueryWrapper.eq(YxHistoryScoreControlLine::getCategory,cognitioPolyclinic);
|
||||||
|
}
|
||||||
|
|
||||||
List<YxHistoryScoreControlLine> historyScoreControlLineList = yxHistoryScoreControlLineService.list(yxHistoryScoreControlLineLambdaQueryWrapper);
|
List<YxHistoryScoreControlLine> historyScoreControlLineList = yxHistoryScoreControlLineService.list(yxHistoryScoreControlLineLambdaQueryWrapper);
|
||||||
Map<String, YxHistoryScoreControlLine> yxHistoryScoreControlLineMap = new LinkedHashMap<>();//key:文科_美术学_提前批
|
Map<String, YxHistoryScoreControlLine> yxHistoryScoreControlLineMap = new LinkedHashMap<>();//key:文科_美术学_提前批
|
||||||
String key = null;
|
String key = null;
|
||||||
|
|
@ -137,7 +143,12 @@ public class MiniTestCulturalService {
|
||||||
artTestCulturalDto.setYear(yxHistoryMajorEnroll.getYear());
|
artTestCulturalDto.setYear(yxHistoryMajorEnroll.getYear());
|
||||||
artTestCulturalDto.setScore(yxHistoryMajorEnroll.getAdmissionLine());
|
artTestCulturalDto.setScore(yxHistoryMajorEnroll.getAdmissionLine());
|
||||||
//获取上一年的 省控分信息
|
//获取上一年的 省控分信息
|
||||||
|
if ("舞蹈类".equals(yxSchoolMajor.getMajorType())) {
|
||||||
|
key = yxSchoolMajor.getCategory() + a_ + yxSchoolMajor.getMainSubjects()+"类" + a_ + (yxSchoolMajor.getBatch().equals("提前批") ? "本科A段" : yxSchoolMajor.getBatch());
|
||||||
|
}else{
|
||||||
key = yxSchoolMajor.getCategory() + a_ + yxSchoolMajor.getMajorType() + a_ + (yxSchoolMajor.getBatch().equals("提前批") ? "本科A段" : yxSchoolMajor.getBatch());
|
key = yxSchoolMajor.getCategory() + a_ + yxSchoolMajor.getMajorType() + a_ + (yxSchoolMajor.getBatch().equals("提前批") ? "本科A段" : yxSchoolMajor.getBatch());
|
||||||
|
}
|
||||||
|
|
||||||
yxHistoryScoreControlLine = yxHistoryScoreControlLineMap.get(yxHistoryMajorEnroll.getYear() + a_ + key);
|
yxHistoryScoreControlLine = yxHistoryScoreControlLineMap.get(yxHistoryMajorEnroll.getYear() + a_ + key);
|
||||||
if (yxHistoryScoreControlLine != null) {
|
if (yxHistoryScoreControlLine != null) {
|
||||||
//文化分控线
|
//文化分控线
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue