|
@@ -140,7 +140,7 @@ public interface EnterpriseUserBindMapper extends BaseMapperX<EnterpriseUserBind
|
|
|
|
|
|
default UserInfoRespDTO selectUserInfo(Long enterpriseId, Long userId) {
|
|
|
MPJLambdaWrapperX<EnterpriseUserBindDO> wrapper = new MPJLambdaWrapperX<>();
|
|
|
- wrapper.selectAsClass(EnterpriseDO.class, UserInfoRespDTO.class);
|
|
|
+ wrapper.selectAsClass(EnterpriseUserBindDO.class, UserInfoRespDTO.class);
|
|
|
|
|
|
wrapper.selectAs(EnterpriseDO::getId, UserInfoRespDTO::getEnterpriseId);
|
|
|
wrapper.selectAs(EnterpriseDO::getName, UserInfoRespDTO::getEnterpriseName);
|