diff --git a/src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java b/src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java index 6cf318a..99913e1 100644 --- a/src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java +++ b/src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java @@ -91,4 +91,7 @@ public class AchievementManagementVO extends ExperimentalReportEntity { //学生id private Integer studentId; + + //运行有没有出现错误(0、运行正确 1、运行错误 + private Integer isError; } diff --git a/src/main/resources/mapper/tms/AchievementManagementDao.xml b/src/main/resources/mapper/tms/AchievementManagementDao.xml index 3d895e8..b64e643 100644 --- a/src/main/resources/mapper/tms/AchievementManagementDao.xml +++ b/src/main/resources/mapper/tms/AchievementManagementDao.xml @@ -409,7 +409,8 @@ IF (p.rightAndWrong = 0, hsi.score, 0) AS codeScore, hjp.judgmentPointsName, - hjp.experimentcode AS answer + hjp.experimentcode AS answer, + hec.isError FROM hr_experiment_code AS hec, hr_score_index AS hsi, hr_judgment_points AS hjp,