From 65763d38cf9b6b8067a293d9c99297efea0de3e3 Mon Sep 17 00:00:00 2001
From: 928255095 <928255095@qq.com>
Date: 星期二, 07 九月 2021 22:04:15 +0800
Subject: [PATCH] Merge branch 'xinghong-dev' into 'master'
---
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