From d3fc5e5ad1fc9fd31d3adc63c611cf38b545a75a Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Fri, 23 Apr 2021 11:46:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8C=E7=AB=99=E7=BB=83=E4=B9=A0=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C=E6=8A=A5=E5=91=8A=E5=A2=9E=E5=8A=A0=E7=8F=AD=E7=BA=A7?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E4=BF=AE=E6=94=B9=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E6=8A=A5=E5=91=8A=E5=A2=9E=E5=8A=A0=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E7=8F=AD=E7=BA=A7=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/msdw/tms/entity/ExperimentalReportEntity.java | 4 ++++ src/main/resources/mapper/tms/AchievementManagementDao.xml | 4 ++++ src/main/resources/mapper/tms/ExperimentalReportDao.xml | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/msdw/tms/entity/ExperimentalReportEntity.java b/src/main/java/com/msdw/tms/entity/ExperimentalReportEntity.java index cc2f0bc..02c43d3 100644 --- a/src/main/java/com/msdw/tms/entity/ExperimentalReportEntity.java +++ b/src/main/java/com/msdw/tms/entity/ExperimentalReportEntity.java @@ -132,5 +132,9 @@ public class ExperimentalReportEntity { //绑定用户id private transient Integer userId; + //练习实验报告班级 + @ApiModelProperty(value = "练习实验报告班级", name = "experimentalClassName", required = false) + private String experimentalClassName; + } diff --git a/src/main/resources/mapper/tms/AchievementManagementDao.xml b/src/main/resources/mapper/tms/AchievementManagementDao.xml index 20c8d1b..f0d3822 100644 --- a/src/main/resources/mapper/tms/AchievementManagementDao.xml +++ b/src/main/resources/mapper/tms/AchievementManagementDao.xml @@ -681,6 +681,10 @@ summarize=#{summarize, jdbcType=VARCHAR}, + + + experimentalClassName=#{experimentalClassName, jdbcType=VARCHAR}, + WHERE reportId = #{reportId} diff --git a/src/main/resources/mapper/tms/ExperimentalReportDao.xml b/src/main/resources/mapper/tms/ExperimentalReportDao.xml index a30b2b2..40374a7 100644 --- a/src/main/resources/mapper/tms/ExperimentalReportDao.xml +++ b/src/main/resources/mapper/tms/ExperimentalReportDao.xml @@ -62,7 +62,8 @@ tpr.score, ter.instructor, ter.period, - ter.summarize + ter.summarize , + ter.experimentalClassName FROM tms_experimental_report ter INNER JOIN student stu ON ter.studentId = stu.studentId