Browse Source

教材入库记录,按照时间倒序排

dzx 1 năm trước cách đây
mục cha
commit
2e8d0fcd3d

+ 1 - 1
src/main/resources/mapper/textbook/TextbookWarehouseRecordMapper.xml

@@ -42,7 +42,7 @@
         <if test="dto.isTextbookPlan != null and dto.isTextbookPlan != ''">
             and t3.is_textbook_plan = #{dto.isTextbookPlan}
         </if>
-        ORDER BY t1.create_date
+        ORDER BY t1.create_date desc
     </select>
 
 </mapper>