Quellcode durchsuchen

优化排序问题

wangfeng vor 5 Jahren
Ursprung
Commit
485dadf6f3
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      mrman-service/src/main/resources/mapper/QcCasesEntryMapper.xml

+ 1 - 1
mrman-service/src/main/resources/mapper/QcCasesEntryMapper.xml

@@ -36,7 +36,7 @@
         <if test="code != null and code != ''">
             AND a.code = #{code}
         </if>
-        ORDER BY a.gmt_modified
+        ORDER BY a.gmt_modified DESC
     </select>
 
     <select id="getQcCasesEntryIndex" resultType="com.diagbot.dto.QcCasesEntryAllDTO">