职站练习实验报告增加班级字段,修改编辑实验报告增加编辑班级列

hehai
rong.liu 4 years ago
parent 96e42dc05c
commit d3fc5e5ad1
  1. 4
      src/main/java/com/msdw/tms/entity/ExperimentalReportEntity.java
  2. 4
      src/main/resources/mapper/tms/AchievementManagementDao.xml
  3. 3
      src/main/resources/mapper/tms/ExperimentalReportDao.xml

@ -132,5 +132,9 @@ public class ExperimentalReportEntity {
//绑定用户id
private transient Integer userId;
//练习实验报告班级
@ApiModelProperty(value = "练习实验报告班级", name = "experimentalClassName", required = false)
private String experimentalClassName;
}

@ -681,6 +681,10 @@
<if test="summarize != null">
summarize=#{summarize, jdbcType=VARCHAR},
</if>
<if test="experimentalClassName != null and experimentalClassName!=''" >
experimentalClassName=#{experimentalClassName, jdbcType=VARCHAR},
</if>
</set>
WHERE reportId = #{reportId}

@ -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

Loading…
Cancel
Save