From 7a0c5479c363a10f573aa15a54dc8130eabd47ff Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期一, 29 一月 2024 11:47:53 +0800
Subject: [PATCH] 修改

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

diff --git a/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml b/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml
index a63ea34..9e32c95 100644
--- a/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/testReviewComment/TestReviewCommentDao.xml
@@ -9,6 +9,12 @@
         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="deptId!=null">
+                and p.biz_dept_id = #{deptId}
+            </if>
             <if test="whereSql!=null">
                 and ${whereSql}
             </if>

--
Gitblit v1.9.1