wangfeng 5 лет назад
Родитель
Сommit
cdd2c45822
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/QcCasesEntryHospitalMapper.xml

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

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