运维模块补充
This commit is contained in:
@ -27,4 +27,9 @@ public class RemoteProjectServiceImpl implements RemoteProjectService {
|
||||
public String selectProjectNameById(Long projectId) {
|
||||
return projectService.getProjectNameById(projectId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void validAuth(Long projectId, Long userId) {
|
||||
projectService.validAuth(projectId, userId);
|
||||
}
|
||||
}
|
||||
|
||||
@ -488,4 +488,10 @@ public class RemoteUserServiceImpl implements RemoteUserService {
|
||||
.collect(Collectors.toMap(SysPost::getPostId, SysPost::getPostName));
|
||||
}
|
||||
|
||||
@Override
|
||||
public RemoteUserVo selectUserByPhonenumber(String phone) {
|
||||
SysUserVo sysUserVo = userMapper.selectVoOne(new LambdaQueryWrapper<SysUser>().eq(SysUser::getPhonenumber, phone));
|
||||
return BeanUtil.copyProperties(sysUserVo, RemoteUserVo.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user