Explorar o código

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

chengyao %!s(int64=4) %!d(string=hai) anos
pai
achega
ed3c78c925
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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