| | |
| | | <if test="vo.driveType != null and vo.driveType != null"> |
| | | AND me.drive_type = #{ vo.driveType } |
| | | </if> |
| | | <if test="vo.equipmentType != null and vo.equipmentType != '' "> |
| | | AND me.equipment_type = #{ vo.equipmentType } |
| | | </if> |
| | | <if test="vo.deviceLevel != null and vo.deviceLevel != '' "> |
| | | AND me.device_level = #{vo.deviceLevel} |
| | | </if> |
| | | <if test="vo.deviceCategory != null and vo.deviceCategory != '' "> |
| | | AND me.device_category = #{vo.deviceCategory} |
| | | </if> |
| | | <if test="vo.deviceImportanceLevel != null and vo.deviceImportanceLevel != '' "> |
| | | AND me.device_importance_level = #{vo.deviceImportanceLevel} |
| | | </if> |
| | | AND mesi.the_date BETWEEN #{ vo.startTime } AND #{ vo.endTime } |
| | | </where> |
| | | GROUP BY |