Browse Source

优化代码

wangfeng 5 years ago
parent
commit
41d8cf3002
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/mapper/QcCasesEntryHospitalMapper.xml

+ 1 - 0
src/main/resources/mapper/QcCasesEntryHospitalMapper.xml

@@ -50,6 +50,7 @@
         <if test="isUsed != null ">
         <if test="isUsed != null ">
             AND b.is_used =#{isUsed}
             AND b.is_used =#{isUsed}
         </if>
         </if>
+        ORDER BY b.gmt_modified DESC
     </select>
     </select>
     <select id="findQcCasesEntryAll" resultType="com.diagbot.dto.QcCasesEntryFindDTO">
     <select id="findQcCasesEntryAll" resultType="com.diagbot.dto.QcCasesEntryFindDTO">
         SELECT DISTINCT
         SELECT DISTINCT