|
|
@@ -412,7 +412,7 @@ public class IIotQxzCommService extends IotDeviceBaseServiceImpl implements IotD
|
|
|
IotQxzConfigDto iotQxzConfigDto = new IotQxzConfigDto();
|
|
|
if(iotDeviceconfig != null){
|
|
|
JSONObject jsonObject = JSONObject.parseObject(iotDeviceconfig.getDevcfgContext());
|
|
|
- iotQxzConfigDto.setInterval((String) jsonObject.get("interval"));
|
|
|
+ iotQxzConfigDto.setInterval(jsonObject.getInteger("interval"));
|
|
|
}
|
|
|
return iotQxzConfigDto;
|
|
|
}
|