Przeglądaj źródła

fix

release_toaliyun_real
winter 1 rok temu
rodzic
commit
b56704bdcd
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      mallinkService/src/main/java/com/iformall/domain/po/WxEnergyMeter.java

+ 4
- 1
mallinkService/src/main/java/com/iformall/domain/po/WxEnergyMeter.java Wyświetl plik

@@ -58,7 +58,10 @@ public class WxEnergyMeter extends TenantEntity {
private String physicsTypeName;
public String getPhysicsTypeName() {
if (null != physicsType) {
return EnumEnergyMeterPhysicsType.getEnum(physicsType).getMessage();
EnumEnergyMeterPhysicsType py = EnumEnergyMeterPhysicsType.getEnum(physicsType);
if (null != py) {
return py.getMessage();
}
}
return null;
}


Ładowanie…
Anuluj
Zapisz