Explorar el Código

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

gaodm hace 5 años
padre
commit
cade31c0e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>