| | |
| | | t1.port port, |
| | | t1.coordinate_num coordinateNum, |
| | | t1.project_approval_no projectApprovalNo, |
| | | t1.standard_a tandardA, |
| | | t1.standard_a standardA, |
| | | t1.standard_b standardB, |
| | | t1.standard_c standardC, |
| | | t1.standard_d standardD, |
| | |
| | | t1.line_id lineId, |
| | | t1.is_meta isMeta, |
| | | t1.id showId, |
| | | t1.is_line_equip isLineEquip, |
| | | t1.is_judging isJudging, |
| | | t3.sumOfEquipment |
| | | from mom_eam_equipment t1 |
| | | left join (select * from mom_eam_equipment_category where del_flag = 0) t2 on t1.equipment_category_id = t2.id |
| | |
| | | </if> |
| | | <if test="equipmentStatus != null and equipmentStatus != ''"> |
| | | and t1.equipment_status = #{equipmentStatus} |
| | | </if> |
| | | <if test="isLineEquip != null and isLineEquip != ''"> |
| | | and t1.is_line_equip = #{isLineEquip} |
| | | </if> |
| | | <if test="isLine != null and isLine != ''"> |
| | | and t1.is_line = #{isLine} |
| | | </if> |
| | | <if test="specificEquipment != null and specificEquipment != ''"> |
| | | and t1.specific_equipment = #{specificEquipment} |
| | |
| | | on t8.id = t3.maintenance_cycle_id |
| | | where t4.version_status = '2') t9 where |
| | | t9.equipmentId = #{mainId} |
| | | and t9.type = #{type} |
| | | order by t9.type |
| | | </select> |
| | | |