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>