mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-18 15:26:54 +08:00
feat:【FCJDFDXTXS-138】考试状态的枚举修改为“已通过、未通过”
This commit is contained in:
@@ -1425,7 +1425,7 @@ public class StudyCourseApi extends ApiBaseController{
|
|||||||
// 考试状态需要转换(根据成绩和及格线判断)
|
// 考试状态需要转换(根据成绩和及格线判断)
|
||||||
String examStatus = "";
|
String examStatus = "";
|
||||||
if (exam.getScore() != null && exam.getPassLine() != null) {
|
if (exam.getScore() != null && exam.getPassLine() != null) {
|
||||||
examStatus = exam.getScore() >= exam.getPassLine() ? "通过" : "未通过";
|
examStatus = exam.getScore() >= exam.getPassLine() ? "已通过" : "未通过";
|
||||||
}
|
}
|
||||||
map.put("考试状态", examStatus);
|
map.put("考试状态", examStatus);
|
||||||
// 考试成绩
|
// 考试成绩
|
||||||
|
|||||||
Reference in New Issue
Block a user