zouxuan преди 2 години
родител
ревизия
0ed78c9e28
променени са 1 файла, в които са добавени 1 реда и са изтрити 4 реда
  1. 1 4
      mec-biz/src/main/resources/config/mybatis/DegreeNewsMapper.xml

+ 1 - 4
mec-biz/src/main/resources/config/mybatis/DegreeNewsMapper.xml

@@ -29,10 +29,7 @@
 			</if>
 		</where>
 		group by dn.id_
-		<choose>
-			<when test="param.sortedTime != null">ORDER BY dn.update_time_ DESC</when>
-			<otherwise>ORDER BY dn.id_ DESC</otherwise>
-		</choose>
+		ORDER BY dn.update_time_ DESC
 	</select>
     
 </mapper>