修复网关子设备不存在问题
This commit is contained in:
parent
5222eca0ef
commit
89b19dc2b1
|
|
@ -11,11 +11,12 @@ import org.hswebframework.web.dict.EnumDict;
|
|||
@Dict("device-type")
|
||||
@JsonDeserialize(contentUsing = EnumDict.EnumDictJSONDeserializer.class)
|
||||
public enum DeviceType implements EnumDict<String> {
|
||||
device("设备"),
|
||||
gateway("网关")
|
||||
device("直连设备"),
|
||||
childrenDevice("网关子设备"),
|
||||
gateway("网关设备")
|
||||
;
|
||||
|
||||
private String text;
|
||||
private final String text;
|
||||
|
||||
@Override
|
||||
public String getValue() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue