实验报告增加返回字段

hehai
rong.liu 4 years ago
parent 200bfbf9cf
commit 4cf89760c6
  1. 3
      src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java
  2. 3
      src/main/resources/mapper/tms/AchievementManagementDao.xml

@ -91,4 +91,7 @@ public class AchievementManagementVO extends ExperimentalReportEntity {
//学生id //学生id
private Integer studentId; private Integer studentId;
//运行有没有出现错误(0、运行正确 1、运行错误
private Integer isError;
} }

@ -409,7 +409,8 @@
IF IF
(p.rightAndWrong = 0, hsi.score, 0) AS codeScore, (p.rightAndWrong = 0, hsi.score, 0) AS codeScore,
hjp.judgmentPointsName, hjp.judgmentPointsName,
hjp.experimentcode AS answer hjp.experimentcode AS answer,
hec.isError
FROM hr_experiment_code AS hec, FROM hr_experiment_code AS hec,
hr_score_index AS hsi, hr_score_index AS hsi,
hr_judgment_points AS hjp, hr_judgment_points AS hjp,

Loading…
Cancel
Save