|
@@ -158,7 +158,6 @@ public class BandingTaskServiceImpl extends MPJBaseServiceImpl<BandingTaskMapper
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
//3、查询所用到的规则
|
|
//3、查询所用到的规则
|
|
List<BandingRule> ruleList = ruleMapper.selectJoinList(BandingRule.class,
|
|
List<BandingRule> ruleList = ruleMapper.selectJoinList(BandingRule.class,
|
|
new MPJLambdaWrapper<BandingRule>()
|
|
new MPJLambdaWrapper<BandingRule>()
|
|
@@ -282,6 +281,10 @@ public class BandingTaskServiceImpl extends MPJBaseServiceImpl<BandingTaskMapper
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if(taskClass.getSortCode() == null && !Objects.equals(taskClass.getMajorSetId(), newStudent.getFirstAmbitionId())){//如果未给班级设置优先级,只匹配一志愿的学生
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+
|
|
List<Boolean> conditionList = new ArrayList<>();
|
|
List<Boolean> conditionList = new ArrayList<>();
|
|
BandingTaskMajorCondition condition = classConditionMap.get(taskClass.getMajorSetId());
|
|
BandingTaskMajorCondition condition = classConditionMap.get(taskClass.getMajorSetId());
|
|
if(condition.getHeight() !=null && newStudent.getHeight() != null && newStudent.getHeight().compareTo(condition.getHeight()) >= 0 ){
|
|
if(condition.getHeight() !=null && newStudent.getHeight() != null && newStudent.getHeight().compareTo(condition.getHeight()) >= 0 ){
|