From 2a045a24a9950dff55373eae2274b92e3db3a54c Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Fri, 5 Jul 2024 15:01:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/system/mapper/ElPaperQuAnswerMapper.java | 4 ++++ .../mapper/system/ElPaperQuAnswerMapper.xml | 13 +++++++++++++ .../resources/mapper/system/ElPaperQuMapper.xml | 12 +++++++++++- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ElPaperQuAnswerMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ElPaperQuAnswerMapper.java index cd32a53..730e4f1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ElPaperQuAnswerMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ElPaperQuAnswerMapper.java @@ -26,6 +26,10 @@ public interface ElPaperQuAnswerMapper extends BaseMapper { */ List list(@Param("paperId") String paperId, @Param("quId") String quId); + + + + } diff --git a/ruoyi-system/src/main/resources/mapper/system/ElPaperQuAnswerMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ElPaperQuAnswerMapper.xml index 150c378..784f172 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ElPaperQuAnswerMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ElPaperQuAnswerMapper.xml @@ -36,4 +36,17 @@ ORDER BY pa.sort ASC + + + + + + + diff --git a/ruoyi-system/src/main/resources/mapper/system/ElPaperQuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ElPaperQuMapper.xml index 76cb9fe..86d6978 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ElPaperQuMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ElPaperQuMapper.xml @@ -33,7 +33,17 @@ AND is_right=true AND qu_type < 4 - SELECT pq.*,eq.content,eq.image FROM el_paper_qu pq LEFT JOIN el_qu eq ON pq.qu_id = eq.id