From f491d30b0a69148bd0991b3d5b1c4cf9f8216949 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期五, 12 一月 2024 09:52:39 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml b/modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml index a97e622..c71c936 100644 --- a/modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml +++ b/modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml @@ -16,5 +16,21 @@ 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> + <select id="getsrcId" resultType="java.lang.String"> + SELECT a.src_id + FROM config_item_warehouse_detail a + WHERE a.is_delete = 0 AND a.project_id = ${projectId} + </select> </mapper> -- Gitblit v1.9.1