ソースを参照

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

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}