updates
This commit is contained in:
parent
d62fef0441
commit
647edf240c
|
|
@ -557,7 +557,7 @@
|
|||
<if test="queryvo.kslx!=null and queryvo.kslx!=''">
|
||||
AND cm.kslx = #{queryvo.kslx}
|
||||
</if>
|
||||
AND cm.enroll_probability >=60
|
||||
AND cm.enroll_probability >=0
|
||||
GROUP BY cm.batch
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
|
|||
|
|
@ -125,10 +125,11 @@ public class ScoreUtil {
|
|||
if (StringUtils.isBlank(nowBatch) || StringUtils.isBlank(majorBatch)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
//将两个批次设置为数字等级,数字越小 权限越多 1st.
|
||||
int nowLevel = "本科A段".equals(nowBatch) ? 1 : "本科B段".equals(nowBatch) ? 1 : "本科".equals(nowBatch) ? 3 : 4;
|
||||
int majorLevel = "提前批".equals(majorBatch)?1: "本科A段".equals(majorBatch) ? 1 : "本科B段".equals(majorBatch) ? 2 : "本科".equals(majorBatch) ? 3 : 4;
|
||||
return nowLevel<=majorLevel;
|
||||
// int nowLevel = "本科A段".equals(nowBatch) ? 1 : "本科B段".equals(nowBatch) ? 1 : "本科".equals(nowBatch) ? 3 : 4;
|
||||
// int majorLevel = "提前批".equals(majorBatch)?1: "本科A段".equals(majorBatch) ? 1 : "本科B段".equals(majorBatch) ? 2 : "本科".equals(majorBatch) ? 3 : 4;
|
||||
// return nowLevel<=majorLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue