| | |
| | | #{ id } |
| | | </foreach> |
| | | </if> |
| | | AND t2.device_abnormal_status = 1 |
| | | ORDER BY t1.the_date |
| | | </select> |
| | | |
| | |
| | | #{ id } |
| | | </foreach> |
| | | </if> |
| | | AND t2.device_abnormal_status = 1 |
| | | ORDER BY t1.the_date |
| | | </select> |
| | | |
| | |
| | | <if test="vo.deviceImportanceLevel != null and vo.deviceImportanceLevel != '' "> |
| | | AND t2.device_importance_level = #{vo.deviceImportanceLevel} |
| | | </if> |
| | | AND t2.device_abnormal_status = 1 |
| | | </where> |
| | | GROUP BY |
| | | t2.equipment_id, |
| | |
| | | <foreach collection="equipmentIdList" index="index" item="id" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | AND me.device_abnormal_status = 1 |
| | | </where> |
| | | ORDER BY sd.depart_order |
| | | </select> |
| | |
| | | <foreach collection="equipmentIdList" index="index" item="id" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | AND me.device_abnormal_status = 1 |
| | | </where> |
| | | ORDER BY mp.production_order |
| | | </select> |
| | |
| | | <if test="mdcOverallEquipmentEfficiency.deviceImportanceLevel != null and mdcOverallEquipmentEfficiency.deviceImportanceLevel != '' "> |
| | | AND t2.device_importance_level = #{mdcOverallEquipmentEfficiency.deviceImportanceLevel} |
| | | </if> |
| | | AND t2.device_abnormal_status = 1 |
| | | </where> |
| | | </select> |
| | | </mapper> |