Commit bbd490c4 authored by tianchao's avatar tianchao

1增加30天预测数据定时任务

parent 37c26ed5
...@@ -110,6 +110,8 @@ public class PlantPredictedPowerLongTermDataCloudServiceImpl implements PlantPre ...@@ -110,6 +110,8 @@ public class PlantPredictedPowerLongTermDataCloudServiceImpl implements PlantPre
batchList = new ArrayList<>(); batchList = new ArrayList<>();
} }
} }
if(batchList.size() > 0)
longTermDataViewMapper.insertBatch(batchList);
} }
return XServiceResult.OK; return XServiceResult.OK;
} }
......
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