From e11362ca4849da567a77d8b5e5be510df9fb0741 Mon Sep 17 00:00:00 2001
From: hjl <1657978663@qq.com>
Date: 星期一, 17 六月 2024 11:51:51 +0800
Subject: [PATCH] fix: 学习端bug

---
 ruoyi-service/ruoyi-study/src/main/resources/mapper/sutdy/TStudyMapper.xml |   19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/ruoyi-service/ruoyi-study/src/main/resources/mapper/sutdy/TStudyMapper.xml b/ruoyi-service/ruoyi-study/src/main/resources/mapper/sutdy/TStudyMapper.xml
index bc436bf..064aa99 100644
--- a/ruoyi-service/ruoyi-study/src/main/resources/mapper/sutdy/TStudyMapper.xml
+++ b/ruoyi-service/ruoyi-study/src/main/resources/mapper/sutdy/TStudyMapper.xml
@@ -41,22 +41,9 @@
                  LEFT JOIN t_study_pair sp ON s.id = sp.studyId
                  LEFT JOIN t_story_listen sl ON s.id = sl.studyId
                  LEFT JOIN t_game g ON s.id = g.studyId
-        <where>
-            s.disabled = 0
-              and sa.disabled = 0
-              and si.disabled = 0
-              and st.disabled = 0
-              and sk.disabled = 0
-              and sp.disabled = 0
-              and sl.disabled = 0
-              and g.disabled = 0
-            <if test="quarter != null and quarter != ''">
-                and s.quarter = #{quarter}
-            </if>
-            <if test="type != null and quarter != ''">
-                and s.type = #{type}
-            </if>
-        </where>
+        where s.disabled = 0
+          and s.quarter = #{quarter}
+          and s.type = #{type}
         GROUP BY s.week, s.title, s.quarter, s.id;
     </select>
 </mapper>

--
Gitblit v1.7.1