use of com.easy.cloud.user.base.pojo.entity.UserEntity in project dq-easy-cloud by dq-open-cloud.
the class UserServiceImpl method findByEmail.
@Override
public EcBaseServiceResult findByEmail(UserQuery userQuery) {
UserQuery userQueryOfFilter = new UserQuery();
userQueryOfFilter.setEmail(userQuery.getEmail());
UserEntity userEntity = userRepository.findUserByQuery(userQueryOfFilter);
return EcBaseServiceResult.newInstanceOfSucResult(userEntity);
}
Aggregations