소스 검색

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

dzx 1 년 전
부모
커밋
2e8d0fcd3d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/textbook/TextbookWarehouseRecordMapper.xml

+ 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>