From d89ef43c4713adf26f74b796653d1dd15ff1f81a Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期三, 29 十一月 2023 16:37:47 +0800 Subject: [PATCH] 6 --- modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml | 13 ++++++++++++- 1 files changed, 12 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..cd3052e 100644 --- a/modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml +++ b/modules/mainPart/src/main/resources/mapper/itemCirculatOrder/ItemCirculatOrderTechnicalDao.xml @@ -16,5 +16,16 @@ 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