Browse Source

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

gaodm 5 years ago
parent
commit
a2c07090aa
1 changed files with 2 additions and 1 deletions
  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>