소스 검색

民用列表降序

JX.Li 1 년 전
부모
커밋
683a5b1d1d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ruoyi-zdsz/src/main/resources/mapper/zdsz/ZEngineeringCivilMapper.xml

+ 1 - 0
ruoyi-zdsz/src/main/resources/mapper/zdsz/ZEngineeringCivilMapper.xml

@@ -86,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="p.enginCycle != null and p.enginCycle != ''">
             and engin_cycle = #{p.enginCycle}
         </if>
+        order by a.create_time desc
         LIMIT #{page},#{size}
         ) AS at)
     </select>