Browse Source

优化排序问题

wangfeng 5 years ago
parent
commit
485dadf6f3
1 changed files with 1 additions and 1 deletions
  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 != ''">
         <if test="code != null and code != ''">
             AND a.code = #{code}
             AND a.code = #{code}
         </if>
         </if>
-        ORDER BY a.gmt_modified
+        ORDER BY a.gmt_modified DESC
     </select>
     </select>
 
 
     <select id="getQcCasesEntryIndex" resultType="com.diagbot.dto.QcCasesEntryAllDTO">
     <select id="getQcCasesEntryIndex" resultType="com.diagbot.dto.QcCasesEntryAllDTO">