java110 5 年 前
コミット
6c237e6acb
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml

@@ -52,7 +52,7 @@
         <if test="qaTitle !=null and qaTitle != ''">
         <if test="qaTitle !=null and qaTitle != ''">
             and t.qa_title= #{qaTitle}
             and t.qa_title= #{qaTitle}
         </if>
         </if>
-        order by t.create_time desc
+        order by t.seq
         <if test="page != -1 and page != null ">
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
             limit #{page}, #{row}
         </if>
         </if>