|
|
|
@ -35,7 +35,7 @@ public class LoadCelueInit implements ApplicationRunner{
|
|
|
|
|
@Override
|
|
|
|
|
public void run(ApplicationArguments args) throws Exception {
|
|
|
|
|
Thread.sleep(5000L);
|
|
|
|
|
if (active) {
|
|
|
|
|
if (false) {
|
|
|
|
|
//获取网关的数据,同步到数据库中
|
|
|
|
|
String gateway_5lqh = DevConstant.gateway.gateway_5lqh;//5楼网关
|
|
|
|
|
String format = String.format("{\"serial\":\"%s\",\"productId\":\"\",\"methodName\":\"celueListQuery\",\"inputData\":{\"devid\":\"%s\"}}", gateway_5lqh,gateway_5lqh);
|
|
|
|
|