作者 钟来

解决发生配置参数报错的问题

@@ -105,7 +105,7 @@ public class HttpDataProxyController { @@ -105,7 +105,7 @@ public class HttpDataProxyController {
105 } 105 }
106 } 106 }
107 rmap.put(parserDeviceInfoDto.getId().substring(parserDeviceInfoDto.getId().indexOf("_")+1),config); 107 rmap.put(parserDeviceInfoDto.getId().substring(parserDeviceInfoDto.getId().indexOf("_")+1),config);
108 - }else if(null != parserDeviceInfoDto.getData() && parserDeviceInfoDto.getData().size()>0 && parserDeviceInfoDto.getData().has("isSendConfig") && parserDeviceInfoDto.getData().get("isSendConfig").getAsBoolean()) 108 + }else if(null != parserDeviceInfoDto.getData() && parserDeviceInfoDto.getData().size()>0 && parserDeviceInfoDto.getData().has("isSendConfig") && parserDeviceInfoDto.getData().get("isSendConfig").getAsJsonObject().get("value").getAsBoolean())
109 { 109 {
110 JsonObject config = DeviceCach.getDeviceInfo(parserDeviceInfoDto.getId()).getConfig(); 110 JsonObject config = DeviceCach.getDeviceInfo(parserDeviceInfoDto.getId()).getConfig();
111 if(null != config && config.size() !=0) 111 if(null != config && config.size() !=0)