Browse Source

Merge branch 'feature/0406-degree' of http://git.dayaedu.com/yonge/mec into master_saas

zouxuan 2 years ago
parent
commit
b137961348
1 changed files with 1 additions and 4 deletions
  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>