From 4cf89760c6dca2c33ec9044bd48cb7291108978c Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Fri, 9 Apr 2021 11:47:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E6=8A=A5=E5=91=8A=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=BF=94=E5=9B=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/msdw/tms/entity/vo/AchievementManagementVO.java | 3 +++ src/main/resources/mapper/tms/AchievementManagementDao.xml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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,