Преглед изворни кода

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

chengyao пре 4 година
родитељ
комит
ed3c78c925
1 измењених фајлова са 1 додато и 1 уклоњено
  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