From 7cd84085ee7cba65350171dab688bc776b8093ff Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 03 十二月 2024 12:21:32 +0800
Subject: [PATCH] 文件上传接口取消文件内容为空判断

---
 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