Reiskuchen преди 5 години
родител
ревизия
d40b6c0596
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ReportMapper.xml

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ReportMapper.xml

@@ -65,7 +65,7 @@
         FROM report AS a
         JOIN user AS b ON a.creator_id=b.id
         WHERE a.state = #{state} AND b.company_id=#{companyId}
-        ORDER BY a.id DESC
+        ORDER BY a.create_date DESC
     </select>
 
 </mapper>