Browse Source

异常数据监控按照创建时间逆序排列

gaodm 5 years ago
parent
commit
c435314b67
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/mapper/QcAbnormalMapper.xml

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

@@ -43,5 +43,6 @@
         <if test="endDate != null and endDate != ''">
             <![CDATA[AND t1.gmt_create < DATE(#{endDate})]]>
         </if>
+        order by t1.gmt_create desc
     </select>
 </mapper>