Explorar o código

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

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