Browse Source

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

gaodm 5 năm trước cách đây
mục cha
commit
a2c07090aa
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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>