Преглед изворни кода

开项管理 - 台账排序:开项级别倒序、开项时间倒序

wangggziwen пре 8 месеци
родитељ
комит
03c2a67ded
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      rc-buisness/src/main/resources/mapper/rc/TOpenItemMapper.xml

+ 1 - 1
rc-buisness/src/main/resources/mapper/rc/TOpenItemMapper.xml

@@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="code != null "> and q.code = #{code}</if>
         </where>
         ${params.dataScope}
-        order by d.level asc, d.open_time asc
+        order by d.level desc, d.open_time desc
     </select>
     
     <select id="selectTOpenItemById" parameterType="Long" resultMap="TOpenItemResult">