jinlin
2024-08-06 8b6dccc8ff919ca8970c4981b2e8cb30892e6698
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>