Commit b013f2dd authored by ZWT's avatar ZWT

feat(能源管理系统): 基础信息配置

1.修改基础信息配置--输电线路配置模块查询输电线路分页列表接口,优化代码;
2.修改基础信息配置--输电线路配置模块查询输电线路井口列表接口,优化代码;
3.修改基础信息配置--输电线路配置模块查询输电线路详情接口,优化代码;
4.修改基础信息配置--市电峰谷配置模块查询市电峰谷详情接口,优化代码;
5.修改基础信息配置模块字典工具类,优化代码;
6.修改基础信息配置--市电峰谷配置模块查询市电峰谷分页列表接口,优化代码;
7.修改task模块pom文件,添加space模块依赖引用;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 3d258a75
...@@ -87,8 +87,9 @@ public class DictUtils { ...@@ -87,8 +87,9 @@ public class DictUtils {
ouIdInput.setOuId(ouId); ouIdInput.setOuId(ouId);
XListResult<GetSysOrganizationViewOutput> allListByOuId = organizationCloudService.getAllListByOuId(context, ouIdInput); XListResult<GetSysOrganizationViewOutput> allListByOuId = organizationCloudService.getAllListByOuId(context, ouIdInput);
allListByOuId.throwIfFail(); allListByOuId.throwIfFail();
List<GetSysOrganizationViewOutput> listByOuIdResult = allListByOuId.getResult(); return allListByOuId.getResult().stream()
return listByOuIdResult.stream().map(GetSysOrganizationViewOutput::getId).collect(Collectors.toList()); .map(GetSysOrganizationViewOutput::getId)
.collect(Collectors.toList());
} }
/** /**
......
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