1.验收问题修改

This commit is contained in:
cdf
2025-03-10 09:15:29 +08:00
parent 14707fe3e9
commit 228a8558ac
10 changed files with 174 additions and 7 deletions

View File

@@ -56,13 +56,12 @@ public class RMpWpPowerDetailMServiceImpl extends ServiceImpl<RMpWpPowerDetailMM
@Override
public Page<RMpWpPowerDetailVO> getWindFarmDetailInfo(PowerQualityParam.PowerQualityInfoParam param) {
//获取部门id集合
List<DeptDTO> deptDTOS = deptFeignClient.getDepSonDetailByDeptId(param.getId()).getData();
List<String> deptIds = deptDTOS.stream().map(DeptDTO::getCode).collect(Collectors.toList());
List<String> codeIds = deptFeignClient.getDepSonSelfCodetByDeptId(param.getId()).getData();
//根据条件查询单位下面的所有配网监测点
PmsMonitorParam pmsMonitorParam = new PmsMonitorParam();
//单位id
pmsMonitorParam.setOrgIds(deptIds);
pmsMonitorParam.setOrgIds(codeIds);
pmsMonitorParam.setMonitorTag(param.getMonitorTag());
pmsMonitorParam.setIsSpecialMonitor(1);