From d2c5028662a40289094eb9138ad5728853cd8895 Mon Sep 17 00:00:00 2001
From: wente <329538422@qq.com>
Date: 星期二, 28 十一月 2023 09:22:47 +0800
Subject: [PATCH] 项目表

---
 modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml b/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml
index 142b7f5..4a7a84f 100644
--- a/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml
@@ -8,13 +8,25 @@
         from warehouse_config_item a
         <where>
             a.is_delete = 0
-            <if test="whereSql!=null">
-                and ${whereSql}
+            <if test="warehouseId!=null">
+                and warehouse_id = ${warehouseId}
             </if>
         </where>
         <if test="orderBySql!=null">
             ORDER BY ${orderBySql}
         </if>
     </select>
+    <select id="itemList" resultType="com.zt.core.sys.dto.DictIstance">
+        SELECT m.*, p.secret_class
+        FROM software_test_order_measured m
+        JOIN software_test_order s ON s.id = m.order_id
+        JOIN project p ON p.id = ${projectId}
+        <where>
+            s.is_delete = 0 and m.is_delete = 0
+            <if test="projectId!=null">
+                and s.project_id = ${projectId}
+            </if>
+        </where>
+    </select>
 
 </mapper>

--
Gitblit v1.9.1