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 e5e2fa5..6cf318a 100644 --- a/src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java +++ b/src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java @@ -88,4 +88,7 @@ public class AchievementManagementVO extends ExperimentalReportEntity { private String answer; //判分点名称 private String judgmentPointsName; + + //学生id + private Integer studentId; } diff --git a/src/main/resources/mapper/tms/AchievementManagementDao.xml b/src/main/resources/mapper/tms/AchievementManagementDao.xml index c2a1330..e408af8 100644 --- a/src/main/resources/mapper/tms/AchievementManagementDao.xml +++ b/src/main/resources/mapper/tms/AchievementManagementDao.xml @@ -177,7 +177,8 @@ u.userName, re.score, re.submitTime, - r.eventId + r.eventId, + s.studentId FROM tms_experimental_report r INNER JOIN tms_experimental_teaching t ON t.id = r.projectId diff --git a/src/main/resources/mapper/tms/ExperimentalReportDao.xml b/src/main/resources/mapper/tms/ExperimentalReportDao.xml index c6dbaaa..69d14da 100644 --- a/src/main/resources/mapper/tms/ExperimentalReportDao.xml +++ b/src/main/resources/mapper/tms/ExperimentalReportDao.xml @@ -30,7 +30,8 @@ ter.improvement, IFNULL(ter.`comment`, (SELECT `comment` FROM tms_comment WHERE id = commentId)) AS comment, ter.instructor, - ter.purpose + ter.purpose, + tet.experimental_class_name as experimentalClassName FROM hr_user_info u, student stu, tms_experimental_report ter, @@ -48,6 +49,7 @@ AND tpr.recordId = #{recordId} AND ter.projectId = #{projectId} +