瀏覽代碼

民用列表降序

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>