From fe295552e5a3b010b5a6a60a1e2a94bc39b49d68 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期二, 06 八月 2024 15:37:09 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/taskReliability/TaskRepairParamDao.xml | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskRepairParamDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskRepairParamDao.xml index 3d511d1..bb33675 100644 --- a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskRepairParamDao.xml +++ b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskRepairParamDao.xml @@ -36,10 +36,9 @@ and e.is_delete = 0 and f.id = e.node_id and f.is_delete = 0 - and f.equip_type is not null and f.equip_type <> '' + and f.equip_type is not null and g.product_id = f.id and g.is_delete = 0 - and g.reliab_distrib_type = 2 and g.repairable = 1 ) c group by task_id, phase_id, phase_name, phase_sort, equip_type @@ -48,4 +47,14 @@ on e.task_id = d.task_id and e.phase_id = d.phase_id and e.equip_type = d.equip_type </select> + <select id="getTaskRepairParams" resultType="com.zt.life.modules.mainPart.taskReliability.model.TaskRepairParam"> + select a.* + from + task_repair_param a + where + a.IS_DELETE=0 + <if test="shipId!=null"> + and a.task_id = #{taskModelId} + </if> + </select> </mapper> -- Gitblit v1.9.1