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>