列表排序

hehai
rong.liu 4 years ago
parent a774868157
commit d4b8ec2636
  1. 9
      src/main/java/com/msdw/tms/service/impl/ExperimentalReportServiceImpl.java
  2. 2
      src/main/resources/mapper/tms/ProjectRecordDao.xml

@ -23,6 +23,15 @@ public class ExperimentalReportServiceImpl extends ServiceImpl<ExperimentalRepor
@Autowired @Autowired
private AchievementManagementDao achievementManagementDao; private AchievementManagementDao achievementManagementDao;
/**
* 学生查看实验报告(教学)
*
* @param studentId
* @param projectId
* @param recordId
* @param reportId
* @return
*/
@Override @Override
public R queryReport(Integer studentId, Integer projectId, Integer recordId, Integer reportId) { public R queryReport(Integer studentId, Integer projectId, Integer recordId, Integer reportId) {
Integer systemId = reportDao.querySystemId(recordId); Integer systemId = reportDao.querySystemId(recordId);

@ -84,7 +84,7 @@
AND AND
ter.eventId = tpr.recordId ter.eventId = tpr.recordId
ORDER BY ORDER BY
tpr.submitTime DESC tpr.recordId DESC
</select> </select>
<select id="getByUserRecordImport" resultType="com.msdw.tms.entity.vo.ProjectRecordExportVo"> <select id="getByUserRecordImport" resultType="com.msdw.tms.entity.vo.ProjectRecordExportVo">

Loading…
Cancel
Save