From bb3bc1c8508dc28d1780c2b0e068595baedb5100 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期五, 12 一月 2024 16:42:17 +0800
Subject: [PATCH] 修改

---
 modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml b/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml
index 4ac09fd..f7efa4c 100644
--- a/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml
@@ -9,6 +9,9 @@
         INNER JOIN  project p ON p.id = a.project_id
         <where>
             a.is_delete = 0
+            <if test="secretClass!=null">
+                and p.secret_class &lt;= #{secretClass}
+            </if>
             <if test="whereSql!=null">
                 and ${whereSql}
             </if>
@@ -17,5 +20,4 @@
             ORDER BY ${orderBySql}
         </if>
     </select>
-
 </mapper>

--
Gitblit v1.9.1