feat:【FCJDFDXTXS-138】考试状态的枚举修改为“已通过、未通过”

This commit is contained in:
miaowenbo
2025-12-16 10:25:26 +08:00
committed by joshen
parent 1e2e18152e
commit c87e5cd592

View File

@@ -1517,7 +1517,7 @@ public class StudyCourseApi extends ApiBaseController{
// 考试状态需要转换(根据成绩和及格线判断)
String examStatus = "";
if (exam.getScore() != null && exam.getPassLine() != null) {
examStatus = exam.getScore() >= exam.getPassLine() ? "通过" : "未通过";
examStatus = exam.getScore() >= exam.getPassLine() ? "通过" : "未通过";
}
map.put("考试状态", examStatus);
// 考试成绩