From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能

---
 java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 8de0bad..b399dcd
--- a/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml
@@ -50,9 +50,9 @@
             and t.qa_id= #{qaId}
         </if>
         <if test="qaTitle !=null and qaTitle != ''">
-            and t.qa_title= #{qaTitle}
+            and t.qa_title like '%${qaTitle}%'
         </if>
-        order by t.create_time desc
+        order by t.seq
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>
@@ -124,7 +124,7 @@
             and t.qa_id= #{qaId}
         </if>
         <if test="qaTitle !=null and qaTitle != ''">
-            and t.qa_title= #{qaTitle}
+            and t.qa_title like '%${qaTitle}%'
         </if>
 
 

--
Gitblit v1.8.0