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

This commit is contained in:
miaowenbo
2025-12-16 10:25:26 +08:00
parent 6a25c3c94a
commit 8a9690379a

View File

@@ -1425,7 +1425,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);
// 考试成绩