Commit e5a5b9f9 authored by tianchao's avatar tianchao

1增加光伏预测模块

parent 7ae2ab4e
......@@ -40,6 +40,9 @@ public class PlantPredictedPowerDataService {
queryWrapper.lambda().orderByAsc(PlantPredictedPowerDataEnt::getDataDate);
List<PlantPredictedPowerDataEnt> list = mapper.selectList(queryWrapper);
List<GetPlantPredictedPowerDataOutput> outputs = XCopyUtils.copyNewList(list , GetPlantPredictedPowerDataOutput.class);
outputs.forEach(item->{
item.setPredictedPower(item.getPower());
});
return XListResult.success(outputs);
}
......
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