卡a证条件修改

This commit is contained in:
wuchunlei
2025-06-04 17:00:46 +08:00
parent 3cd1a6507e
commit 8dfd150e2c

View File

@@ -486,7 +486,7 @@ public class ClassController {
String type = "B";
//卡一下A证率普通小班A证率为的10%精英班A证率为20%
if (new BigDecimal(userScoreMap.get("userScore").toString()).compareTo(new BigDecimal(70))>=0&&
classEntity.getTitle().contains("精英")?((i+1)<=(Math.floor(userScoreList.size()*0.20))):(i+1)<=(Math.floor(userScoreList.size()*0.10))){
(classEntity.getTitle().contains("精英")?((i+1)<=(Math.floor(userScoreList.size()*0.20))):(i+1)<=(Math.floor(userScoreList.size()*0.10)))){
type = "A";
}
userCertificate.setType(type);