修复属性错误
This commit is contained in:
parent
6eb98971bd
commit
bbc2d8b066
|
|
@ -67,6 +67,7 @@ public class DevicePropertiesEntity {
|
|||
if (value == null) {
|
||||
return this;
|
||||
}
|
||||
setValue(String.valueOf(value));
|
||||
if (type instanceof NumberType) {
|
||||
NumberType<?> numberType = (NumberType<?>) type;
|
||||
setNumberValue(new BigDecimal(numberType.convertNumber(value).toString()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue