Browse Source

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

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

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

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