From 23f02e6b45dd7cf0ab2e7827144913ca59575ea4 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 04 三月 2025 18:59:23 +0800
Subject: [PATCH] jar

---
 src/main/resources/mapper/progressTrack/DjJdgzNetworkLevel3Dao.xml |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/progressTrack/DjJdgzNetworkLevel3Dao.xml b/src/main/resources/mapper/progressTrack/DjJdgzNetworkLevel3Dao.xml
index efaffc1..ff2aa69 100644
--- a/src/main/resources/mapper/progressTrack/DjJdgzNetworkLevel3Dao.xml
+++ b/src/main/resources/mapper/progressTrack/DjJdgzNetworkLevel3Dao.xml
@@ -40,6 +40,21 @@
             <if test="shipId!=null">
                 and c.ship_id = ${shipId}
             </if>
+            <if test="deptId!=null">
+                and a.dept_id = ${deptId}
+            </if>
+            <if test="teamId!=null">
+                and a.TEAMGROUP_ID = ${teamId}
+            </if>
+            <if test="cabinId!=null">
+                and a.cabin_id  LIKE '%${cabinId}%'
+            </if>
+            <if test="type!=null and type!=''">
+                and a.type  = #{type}
+            </if>
+            <if test="name!=null and name!=''">
+                and a.name  LIKE '%${name}%'
+            </if>
         group by a.id
     </select>
 
@@ -62,6 +77,22 @@
         where is_delete = 0
           and LEVEL1_network_id = ${level1NetworkId}
     </select>
+    <select id="getListByExport" resultType="com.example.client.dto.JComboBoxItem">
+        SELECT
+        a.*
+        FROM `dj_jdgz_network_level3` a
+        where
+        a.is_delete = 0
+        <if test="projectId!=null">
+            and a.LEVEL1_network_id = ${projectId}
+        </if>
+        <if test="deptId!=null">
+            and a.dept_id = ${deptId}
+        </if>
+        <if test="teamId!=null">
+            and a.TEAMGROUP_ID = ${teamId}
+        </if>
+    </select>
 
 
 </mapper>

--
Gitblit v1.9.1