Commit a27a15bc authored by licc's avatar licc

优化查询方案

parent 2c4e31c7
......@@ -113,6 +113,9 @@
<if test="downGrade != null">
and lowest_mark >#{downGrade}
</if>
<if test="type != null">
and type =#{type}
</if>
<if test="volunteerIds != null and volunteerIds.size > 0 ">
and id NOT IN
<foreach collection="volunteerIds" index="index" item="id" separator="," open="(" close=")">
......
......@@ -158,7 +158,7 @@ public class ProfessionServiceImpl extends ServiceImpl<ProfessionMapper, Profess
return SchemeTypeEnums.JUNIOR_COLLEGE_SPORTS.getCode();
}
//type == 4 体育考生
//type == 4 文学编导
if (StudentType.LITERATURE_STUDENT.getCode().equals(type)) {
//获取文学编导本科一批录取规则
AdmissionRule firstRule = admissionRuleMapper.getByType(SchemeTypeEnums.UNDERGRADUATE_LITERATURE.getCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment