Browse Source

3.2.1-修复bug

xiaof 2 years ago
parent
commit
65c7139afa

+ 1 - 1
distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

@@ -581,7 +581,7 @@
                 </foreach>
             </if>
         </where>
-        order by a.create_time desc, a.paper_number desc
+        order by IFNULL(g.update_time, a.update_time) desc, a.paper_number desc
     </select>
     <select id="listPaperNumbers" resultType="com.qmth.distributed.print.business.bean.dto.RelatePaperDto">
         SELECT