浏览代码

优化排序问题

wangfeng 5 年之前
父节点
当前提交
485dadf6f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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">