소스 검색

优化排序问题

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">