| | |
| | | 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 |
| | |
| | | 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> |