From c2614ad5c7d1e27fae68e52cd058af363464cdb4 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 21 五月 2022 23:16:38 +0800
Subject: [PATCH] 优化代码

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

diff --git a/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml
index f1b2640..b399dcd 100755
--- a/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/QuestionAnswerTitleServiceDaoImplMapper.xml
@@ -50,7 +50,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>
         order by t.seq
         <if test="page != -1 and page != null ">
@@ -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