From 576c52d8d8e6fb1e738380cc5fc101a6a2b0b3a8 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 04 九月 2021 16:00:57 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
java110-db/src/main/resources/mapper/user/QuestionAnswerServiceDaoImplMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/QuestionAnswerServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/QuestionAnswerServiceDaoImplMapper.xml
index af91f0b..9214f13 100755
--- a/java110-db/src/main/resources/mapper/user/QuestionAnswerServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/QuestionAnswerServiceDaoImplMapper.xml
@@ -31,7 +31,7 @@
</if>
where 1 =1
<if test="qaName !=null and qaName != ''">
- and t.qa_name= #{qaName}
+ and t.qa_name like concat('%',#{qaName},'%')
</if>
<if test="qaType !=null and qaType != ''">
and t.qa_type= #{qaType}
@@ -111,7 +111,7 @@
from question_answer t
where 1 =1
<if test="qaName !=null and qaName != ''">
- and t.qa_name= #{qaName}
+ and t.qa_name like concat('%',#{qaName},'%')
</if>
<if test="qaType !=null and qaType != ''">
and t.qa_type= #{qaType}
--
Gitblit v1.8.0