소스 검색

用户上级评价新增创建时间倒序排序

anderx 1 년 전
부모
커밋
9c272cf30e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/java/com/goafanti/common/mapper/UserSuperEvaluateMapper.xml

+ 1 - 0
src/main/java/com/goafanti/common/mapper/UserSuperEvaluateMapper.xml

@@ -37,6 +37,7 @@ id, uid, aid, content, create_time
             <if test="aid != null and aid != ''">
                 and a.aid = #{aid}
             </if>
+            order by a.create_time desc
         </where>
         <if test="page_sql != null">
             ${page_sql}