Przeglądaj źródła

Merge branch 'dev/20200513end_1.2.0' into test

gaodm 5 lat temu
rodzic
commit
a2c07090aa
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/main/resources/mapper/QcAbnormalMapper.xml

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

@@ -41,7 +41,8 @@
             <![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>
 </mapper>