yin 1 月之前
父节点
当前提交
de147a2564

+ 1 - 1
stmms-biz/src/main/java/cn/com/qmth/stmms/biz/exam/dao/InspectHistoryDao.java

@@ -38,6 +38,6 @@ public interface InspectHistoryDao extends PagingAndSortingRepository<InspectHis
 
     @Query("select distinct s.inspectRound from InspectHistory s where s.examId=?1 ")
     public List<Integer> findInspectRound(int examId);
-
+    @Query("select s from InspectHistory s where s.studentId=?1 order by s.inspectTime asc ")
     List<InspectHistory> findByStudentId(Integer studentId);
 }

+ 1 - 0
stmms-web/src/main/java/cn/com/qmth/stmms/admin/exam/PaperController.java

@@ -354,6 +354,7 @@ public class PaperController extends BaseExamController {
                                     old.setName(question.getName());
                                     old.setTotalScore(question.getTotalScore());
                                     old.setIntervalScore(question.getIntervalScore());
+                                    old.setTrackCount(question.getTrackCount());
                                     questionService.save(old);
                                 } else {
                                     question.setGroupNumber(null);