|
|
@ -1861,6 +1861,23 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
|
result.setRight(UniversalEnum.INNER_EXIT_PLAZA.getValue()); |
|
|
|
} |
|
|
|
} |
|
|
|
} else if ("dcEventServiceArea.disableFacility".equals(result.getRightPath())){ |
|
|
|
if (UniversalEnum.ONE.getValue().equals(result.getRight())) { |
|
|
|
result.setRight("卫生间"); |
|
|
|
} else if (UniversalEnum.TWO.getValue().equals(result.getRight())) { |
|
|
|
result.setRight("餐厅"); |
|
|
|
} else if (UniversalEnum.THREE.getValue().equals(result.getRight())) { |
|
|
|
result.setRight("停车场"); |
|
|
|
} else if (UniversalEnum.FOUR.getValue().equals(result.getRight())) { |
|
|
|
result.setRight("加油站"); |
|
|
|
} else if (UniversalEnum.FIVE.getValue().equals(result.getRight())) { |
|
|
|
result.setRight("充电桩"); |
|
|
|
} |
|
|
|
} else if ("dcEventConstruction.rampId".equals(result.getRightPath())){ |
|
|
|
DcRamp dcRamp = dcRampMapper.selectDcRampById(Long.valueOf(result.getRight().toString())); |
|
|
|
if (dcRamp != null){ |
|
|
|
result.setRight(dcRamp.getRampName()); |
|
|
|
} |
|
|
|
} |
|
|
|
String label = ValueConverter.eventLabel(result.getRightPath()); |
|
|
|
if (StringUtils.isNotEmpty(label)) { |
|
|
|