Commit 4cb8ca67 authored by tianchao's avatar tianchao

1增加自动调用预测接口

parent ac1c5aec
...@@ -307,6 +307,9 @@ public class BaseWatherCloudServiceImpl implements BaseWatherCloudService { ...@@ -307,6 +307,9 @@ public class BaseWatherCloudServiceImpl implements BaseWatherCloudService {
for (PlantPredictedPowerDataEnt item :allList ){ for (PlantPredictedPowerDataEnt item :allList ){
mapper.insert(item); mapper.insert(item);
} }
//自动调用预测接口
HttpUtils.send2("http://127.0.0.1:10098/aiprediction/xgbreason?plantId=" + plantId,
"");
} }
}catch (Exception e) { }catch (Exception e) {
context.getLogger().error(e.getMessage()); context.getLogger().error(e.getMessage());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment