updates
This commit is contained in:
parent
3fe1c2e8b2
commit
517c38bc6f
|
|
@ -134,7 +134,7 @@ public class MusicService {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (recommendMajorDTO.getSchoolCode().equals("6060")) {
|
||||
if (recommendMajorDTO.getSchoolCode().equals("6030") && recommendMajorDTO.getBatch().equals("本科A段") && recommendMajorDTO.getEnrollmentCode().contains("12")) {
|
||||
System.out.println("111");
|
||||
}
|
||||
|
||||
|
|
@ -219,10 +219,10 @@ public class MusicService {
|
|||
differenceMap = ScoreUtil.computeHistoryMajorEnrollScoreLineDifferenceWithRulesEnrollProbability(rulesEnrollProbability, historyMajorEnrollList);
|
||||
historyThreeYearDiff = (BigDecimal) differenceMap.get("scoreDifference");
|
||||
nowYearDiff = studentScore.subtract(nowYearProvincialControlLine);
|
||||
if (historyThreeYearDiff.compareTo(YxConstant.bigDecimal0)==0) {
|
||||
if (historyThreeYearDiff.compareTo(YxConstant.bigDecimal0)<=0) {
|
||||
enrollProbability = nowYearDiff.multiply(YxConstant.bigDecimal100);
|
||||
}else{
|
||||
if (historyThreeYearDiff == null || historyThreeYearDiff.doubleValue() == 0) {
|
||||
if (historyThreeYearDiff == null) {
|
||||
continue;
|
||||
}
|
||||
enrollProbability = nowYearDiff.divide(historyThreeYearDiff, 4, RoundingMode.HALF_UP).multiply(YxConstant.bigDecimal100);
|
||||
|
|
|
|||
Loading…
Reference in New Issue