Commit 37f89b3e authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.修复登录页面登录接口验证码输入后不需要验证直接能登录的问题;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 7118c75a
......@@ -74,24 +74,6 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
List<DynamicQueryPlantPredictedPowerOutput> generationHourList;
List<DynamicQueryBasePowerLineOutput> lineList = lineOutputXListResult.getResult();
for (DynamicQueryBasePowerLineOutput line : lineList) {
//查线路下所有电站
plantResult = lineCloudService.getPowerLinePlantViewList(context, DynamicQueryBasePowerLinePlantInput.builder()
.lineId(line.getId())
.build());
plantList = plantResult.getResult();
if (CollUtil.isEmpty(plantList)) {
continue;
}
//查线路关联市电峰谷
strategyResult = strategyCloudService.queryStrategyDetailList(context, GetBasePriceStrategyDetailInput.builder()
.lineId(line.getId())
.periodTypeKey("LOW")
.strategyMonth("4")
.build());
strategyList = strategyResult.getResult();
if (CollUtil.isEmpty(strategyList)) {
continue;
}
//查对应间开制度
detailEnt = detailMapper.selectOne(new LambdaQueryWrapper<SpaceInstitutionDetailEnt>()
.eq(BaseModel::getIsDeleted, BusinessConstant.ONE)
......@@ -112,6 +94,24 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
if (CollUtil.isEmpty(wellheadList)) {
continue;
}
//查线路下所有电站
plantResult = lineCloudService.getPowerLinePlantViewList(context, DynamicQueryBasePowerLinePlantInput.builder()
.lineId(line.getId())
.build());
plantList = plantResult.getResult();
if (CollUtil.isEmpty(plantList)) {
continue;
}
//查线路关联市电峰谷
strategyResult = strategyCloudService.queryStrategyDetailList(context, GetBasePriceStrategyDetailInput.builder()
.lineId(line.getId())
.periodTypeKey("LOW")
.strategyMonth("4")
.build());
strategyList = strategyResult.getResult();
if (CollUtil.isEmpty(strategyList)) {
continue;
}
//查间开优化时间段
List<SpaceOptimizeShortDurationEnt> shortDurationList = shortDurationMapper.selectList(new LambdaQueryWrapper<SpaceOptimizeShortDurationEnt>()
.eq(BaseModel::getIsDeleted, BusinessConstant.ONE)
......@@ -135,6 +135,7 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
.endTime(DateUtil.offsetDay(of, 1).toString())
.dateType(BusinessConstant.ONE)
.build());
}
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