|
|
|
@ -48,8 +48,8 @@
|
|
|
|
|
be.equipment_name AS 'equipmentName',
|
|
|
|
|
be.equipment_status AS 'equipmentStatus',
|
|
|
|
|
be.department AS 'department',
|
|
|
|
|
ROUND(SUM(CAST(eo.fault_time AS FLOAT)) * 100 / SUM(CAST(eo.actual_operation_time AS FLOAT)),2) AS 'failureRate',
|
|
|
|
|
CAST(SUM(CAST(eo.actual_operation_time AS DECIMAL(10,2)))*100 / (365*24) AS DECIMAL(18,2)) AS 'utilizationRatio'
|
|
|
|
|
ROUND(SUM(CAST(eo.fault_time AS FLOAT)) * 100 / SUM(CAST(eo.operation_time AS FLOAT)),2) AS 'failureRate',
|
|
|
|
|
CAST(SUM(CAST(eo.actual_operation_time AS DECIMAL(10,2)))*100/(COUNT(eo.actual_operation_time)*24) AS DECIMAL(18,2)) AS 'utilizationRatio'
|
|
|
|
|
FROM equ_operation eo
|
|
|
|
|
LEFT JOIN base_equipment be ON eo.equipment_code = be.equipment_code
|
|
|
|
|
<where>
|
|
|
|
|