瀏覽代碼

1.0.5 update

xiaofei 10 月之前
父節點
當前提交
804596a407

+ 2 - 1
paper-library-business/src/main/resources/mapper/DocManageMapper.xml

@@ -24,6 +24,7 @@
             <if test="courseCode != null and courseCode != ''">
                 and pst.course_code = #{courseCode}
             </if>
+            order by pst.course_code
         </where>
     </select>
     <select id="statData" resultType="com.qmth.paper.library.business.bean.result.DocManageStatResult">
@@ -125,7 +126,7 @@
                 </if>
             </if>
         </where>
-        order by pst.scan_task_name, es.student_code
+        order by es.student_code
     </select>
     <select id="listDetail" resultType="com.qmth.paper.library.business.bean.result.DocManageDetailResult">
         SELECT

+ 1 - 1
paper-library-business/src/main/resources/mapper/ExamStudentMapper.xml

@@ -59,6 +59,6 @@
             </if>
             and enable = true
         </where>
-        ORDER BY student_code DESC
+        ORDER BY course_code, student_code
     </select>
 </mapper>

+ 1 - 0
paper-library-business/src/main/resources/mapper/PaperScanTaskMapper.xml

@@ -28,6 +28,7 @@
             <if test="courseCode != null and courseCode != ''">
                 AND pst.course_code = #{courseCode}
             </if>
+            order by pst.course_code
         </where>
     </select>
 

+ 1 - 1
paper-library-business/src/main/resources/mapper/PictureManageMapper.xml

@@ -72,7 +72,7 @@
                 and es.bind_count != #{pictureCount}
             </if>
         </if>
-        order by es.student_code
+        order by es.course_code, es.student_code
     </select>
     <select id="pageDataByStudentIds" resultType="com.qmth.paper.library.business.bean.result.PictureManageDetailResult">
         SELECT