From 4f0b80617ba30bec3b1972afba72f2c310833093 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 28 十一月 2024 16:54:11 +0800
Subject: [PATCH] bug

---
 src/main/resources/mapper/QuestionMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/QuestionMapper.xml b/src/main/resources/mapper/QuestionMapper.xml
index 94c2295..3b4d506 100644
--- a/src/main/resources/mapper/QuestionMapper.xml
+++ b/src/main/resources/mapper/QuestionMapper.xml
@@ -384,6 +384,7 @@
              t_question q
                  INNER JOIN t_text_content d on q.info_text_content_id = d.id
         WHERE JSON_VALUE(d.content, '$.titleContent') = #{title} AND q.deleted = 0
+        limit 1
     </select>
 
     <select id="countQuestionByTitleAndSubject" resultType="com.mindskip.xzs.vo.QuestionSubjectVO">

--
Gitblit v1.8.0