zouxuan há 2 anos atrás
pai
commit
0ed78c9e28

+ 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>