| | |
| | | <if test="mdcEquipment.deviceCategory != null and mdcEquipment.deviceCategory != '' "> |
| | | AND t1.device_category = #{mdcEquipment.deviceCategory} |
| | | </if> |
| | | <if test="mdcEquipment.deviceImportanceLevel != null and mdcEquipment.deviceImportanceLevel != '' "> |
| | | AND t1.device_importance_level = #{mdcEquipment.deviceImportanceLevel} |
| | | </if> |
| | | <if test="mdcEquipment.deviceAbnormalStatus != null and mdcEquipment.deviceAbnormalStatus != '' "> |
| | | AND t1.device_abnormal_status = #{mdcEquipment.deviceAbnormalStatus} |
| | | </if> |
| | |
| | | <if test="mdcEquipment.driveType != null and mdcEquipment.driveType != '' "> |
| | | AND t1.drive_type = #{mdcEquipment.driveType} |
| | | </if> |
| | | <if test="mdcEquipment.deviceLevel != null and mdcEquipment.deviceLevel != '' "> |
| | | AND t1.device_level = #{mdcEquipment.deviceLevel} |
| | | </if> |
| | | <if test="mdcEquipment.deviceCategory != null and mdcEquipment.deviceCategory != '' "> |
| | | AND t1.device_category = #{mdcEquipment.deviceCategory} |
| | | </if> |
| | | <if test="mdcEquipment.deviceImportanceLevel != null and mdcEquipment.deviceImportanceLevel != '' "> |
| | | AND t1.device_importance_level = #{mdcEquipment.deviceImportanceLevel} |
| | | </if> |
| | | <if test="mdcEquipment.deviceAbnormalStatus != null and mdcEquipment.deviceAbnormalStatus != '' "> |
| | | AND t1.device_abnormal_status = #{mdcEquipment.deviceAbnormalStatus} |
| | | </if> |
| | | <if test="mdcEquipment.productionIds != null and mdcEquipment.productionIds.size() > 0 "> |
| | | AND t3.id IN |
| | | <foreach collection="mdcEquipment.productionIds" index="index" item="id" open="(" separator="," close=")"> |