Browse Source

条目数据维护排序字段添加

chengyao 4 years ago
parent
commit
ed3c78c925
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/QcCasesEntryHospitalMapper.xml

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

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