|
@@ -139,7 +139,7 @@ public class ComprehensiveContrastController {
|
|
|
response.setCharacterEncoding("UTF-8");
|
|
|
ElectricField electricField = electricFieldService.get();
|
|
|
DisplayConfig displayConfig = null;
|
|
|
- if (electricField.getElectricFieldTypeEnum().getCode() == 1) {
|
|
|
+ if ("E1".equals(otherType)) {
|
|
|
displayConfig = displayConfigService.findByDisplayCode("weatherStationInfos");
|
|
|
String showCode = displayConfig.getShowCode();
|
|
|
String[] split = showCode.split(",");
|