查看成绩添加学生id字段

hehai
rong.liu 4 years ago
parent 834fcde002
commit 3d14660dcb
  1. 3
      src/main/java/com/msdw/tms/entity/vo/AchievementManagementVO.java
  2. 3
      src/main/resources/mapper/tms/AchievementManagementDao.xml
  3. 4
      src/main/resources/mapper/tms/ExperimentalReportDao.xml

@ -88,4 +88,7 @@ public class AchievementManagementVO extends ExperimentalReportEntity {
private String answer; private String answer;
//判分点名称 //判分点名称
private String judgmentPointsName; private String judgmentPointsName;
//学生id
private Integer studentId;
} }

@ -177,7 +177,8 @@
u.userName, u.userName,
re.score, re.score,
re.submitTime, re.submitTime,
r.eventId r.eventId,
s.studentId
FROM FROM
tms_experimental_report r tms_experimental_report r
INNER JOIN tms_experimental_teaching t ON t.id = r.projectId INNER JOIN tms_experimental_teaching t ON t.id = r.projectId

@ -30,7 +30,8 @@
ter.improvement, ter.improvement,
IFNULL(ter.`comment`, (SELECT `comment` FROM tms_comment WHERE id = commentId)) AS comment, IFNULL(ter.`comment`, (SELECT `comment` FROM tms_comment WHERE id = commentId)) AS comment,
ter.instructor, ter.instructor,
ter.purpose ter.purpose,
tet.experimental_class_name as experimentalClassName
FROM hr_user_info u, FROM hr_user_info u,
student stu, student stu,
tms_experimental_report ter, tms_experimental_report ter,
@ -48,6 +49,7 @@
AND tpr.recordId = #{recordId} AND tpr.recordId = #{recordId}
AND ter.projectId = #{projectId} AND ter.projectId = #{projectId}
</select> </select>
<select id="queryVirtualReport" resultType="com.msdw.tms.entity.vo.ExperimentalReportVo"> <select id="queryVirtualReport" resultType="com.msdw.tms.entity.vo.ExperimentalReportVo">
SELECT SELECT
tpr.recordId, tpr.recordId,

Loading…
Cancel
Save