浏览代码

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

gaodm 5 年之前
父节点
当前提交
c1fd926c04
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>