瀏覽代碼

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

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}