1.pms电站终端调整

This commit is contained in:
2024-02-02 10:59:18 +08:00
parent a5119bbec0
commit f211de85c1
2 changed files with 2 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ public class StatationStatServiceImpl extends ServiceImpl<StatationStatMapper, S
public Page<StatationStatVO> getStatationStatPageList(TerminalQueryParam baseParam) {
List<String> orgIds = new ArrayList<>();
if(StrUtil.isNotBlank(baseParam.getOrgId())){
orgIds.addAll(deptFeignClient.getDepSonSelfCodetByCode(baseParam.getOrgId()).getData());
orgIds.addAll(deptFeignClient.getDepSonSelfCodetByDeptId(baseParam.getOrgId()).getData());
}
return this.baseMapper.getStatationStatPageList(new Page<>(PageFactory.getPageNum(baseParam), PageFactory.getPageSize(baseParam)), baseParam,orgIds);
}

View File

@@ -63,7 +63,7 @@ public class TerminalServiceImpl extends ServiceImpl<TerminalMapper, PmsTerminal
List<String> orgIds = new ArrayList<>();
if(StrUtil.isNotBlank(baseParam.getOrgId())){
orgIds.addAll(deptFeignClient.getDepSonSelfCodetByCode(baseParam.getOrgId()).getData());
orgIds.addAll(deptFeignClient.getDepSonSelfCodetByDeptId(baseParam.getOrgId()).getData());
}
LambdaQueryWrapper<PmsTerminal> lambdaQueryWrapper = new LambdaQueryWrapper<>();