From d7d9b601b2e4fdb663375993e2cfbdbd363df421 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期二, 11 七月 2023 22:17:37 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
java110-db/src/main/resources/mapper/user/QuestionTitleValueV1ServiceDaoImplMapper.xml | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/QuestionTitleValueV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/QuestionTitleValueV1ServiceDaoImplMapper.xml
index 7f33079..1048792 100644
--- a/java110-db/src/main/resources/mapper/user/QuestionTitleValueV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/QuestionTitleValueV1ServiceDaoImplMapper.xml
@@ -48,7 +48,7 @@
<if test="seq !=null and seq != ''">
and t.seq= #{seq}
</if>
- order by t.create_time desc
+ order by t.seq
<if test="page != -1 and page != null ">
limit #{page}, #{row}
</if>
@@ -65,12 +65,6 @@
<if test="score !=null and score != ''">
, t.score= #{score}
</if>
- <if test="titleId !=null and titleId != ''">
- , t.title_id= #{titleId}
- </if>
- <if test="communityId !=null and communityId != ''">
- , t.community_id= #{communityId}
- </if>
<if test="qaValue !=null and qaValue != ''">
, t.qa_value= #{qaValue}
</if>
@@ -81,6 +75,12 @@
<if test="valueId !=null and valueId != ''">
and t.value_id= #{valueId}
</if>
+ <if test="titleId !=null and titleId != ''">
+ and t.title_id= #{titleId}
+ </if>
+ <if test="communityId !=null and communityId != ''">
+ and t.community_id= #{communityId}
+ </if>
</update>
--
Gitblit v1.8.0