Commit fa436e87 authored by ZWT's avatar ZWT

feat(能源管理系统): 测试问题修复

1.修改基础信息配置--组织机构管理模块,通过组织机构ID查询下级组织机构及线路列表接口,增加查询线路类型逻辑,添加返回值,修改接口文档并完成接口冒烟测试;
2.修改基础信息配置--基础间开配置模块,设为基础制度接口,添加限制条件,不能优化结束日期在当天之前的数据;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent f53c9c57
...@@ -425,7 +425,8 @@ public class SpaceInstitutionDetailService extends SpaceOptimizeBaseService { ...@@ -425,7 +425,8 @@ public class SpaceInstitutionDetailService extends SpaceOptimizeBaseService {
SpaceOptimizeLineRelation relation = super.getOptimizeLineRelation(context, ListUtil.toList(detail)); SpaceOptimizeLineRelation relation = super.getOptimizeLineRelation(context, ListUtil.toList(detail));
//长期间开优化 //长期间开优化
this.institutionalOptimization(context, longPeriodDTOList, longWellheadDTOList, longDurationDTOList, longUnOptimizeDurationList, relation, this.institutionalOptimization(context, longPeriodDTOList, longWellheadDTOList, longDurationDTOList, longUnOptimizeDurationList, relation,
detail, BaseUtils.getExecutionCycleForMonth(currentTime), endOfMonth, monthNum, DynamicQueryPlantPredictedPowerInput.builder() detail, BaseUtils.getExecutionCycleForMonth(currentTime), endOfMonth, monthNum,
DynamicQueryPlantPredictedPowerInput.builder()
.plantIds(relation.getPlantIdsByLineIdMap().get(lineId)) .plantIds(relation.getPlantIdsByLineIdMap().get(lineId))
.yearTime(String.valueOf(year)) .yearTime(String.valueOf(year))
.monthTime(BaseUtils.getMonthString(monthNum)) .monthTime(BaseUtils.getMonthString(monthNum))
......
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