diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/enterprise/EnterpriseServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/enterprise/EnterpriseServiceImpl.java index 425269f..2defcbe 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/enterprise/EnterpriseServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/enterprise/EnterpriseServiceImpl.java @@ -251,7 +251,7 @@ public class EnterpriseServiceImpl implements EnterpriseService { if(pageReqVO.getEnterpriseUserId()!=null){ LambdaQueryWrapperX lambdaQueryWrapperX = new LambdaQueryWrapperX(); - lambdaQueryWrapperX.eqIfPresent(EnterprisesUserDO::getUserId, pageReqVO.getUserId()); + lambdaQueryWrapperX.eqIfPresent(EnterprisesUserDO::getUserId, pageReqVO.getEnterpriseUserId()); List enterprisesUserDOS = enterprisesUserMapper.selectList(lambdaQueryWrapperX); if(!CollectionUtils.isAnyEmpty(enterprisesUserDOS)){ pageReqVO.setEnterpriseIds(CollectionUtils.convertList(enterprisesUserDOS,EnterprisesUserDO::getEnterprisesId));